HTML
Hyper Text Markup Language(HTML).It is a markup language it can call the tags and attributes.
-
It can’t change the tags.
-
It can change the attributes.
Ex:
<html> is a tag. It can’t change.
<font size=”12”>
The font is a tag, size attributes and 12 is value.
Font tag can't change, size attribute can be changed and also change the value.
Ex: <font color=”blue”>
The font tag does not change, color attribute is changed previously our using attribute is the size and also change the value.
Syntax:
<!DOCTYPE html>==>It is indicated the HTML version for html5 to browser
<html>==>It indicated the browser that this is an HTML document
<head>==>is a container for all the<head>elements.title,style,script and meta information like these.
<title>-----</title>
</head>
<body>==>It defines the main content of the HTML document
----------
</body>
</html>
In this HTML designing the Static pages.
Sample Example:
<!DOCTYPE html>
<html>
<head>
<title>sample program</title>
</head>
<body bgcolor=”green”>
Have a nice day
</body>
</html>
save(ctrl+s) this file .html extension in your location.Then double click the your file open the browser ex:chrome,firefox,internet explore and etc.
OutPut:
Comments
Post a Comment