Mainly entire HTML document is divided into two parts: the head and the body. A new HTML page must have a declaration: . It tells browser that the following file is an HTML file. Basically four primary tags are used to build any webpage: , ,
:
It defines document body. It contains body content. It ends with .It has following attributes:
Attributes | Description | Values |
---|---|---|
alink: | Defines color for active link. | rgb(x,x,x) or #xxxxxx or colorname |
background: | Sets a background image for a document. | URL |
link: | Sets hyperlink color which are not clicked by user. | rgb(x,x,x) or #xxxxxx or colorname |
vlink: | Set color for link which the user had followed. | rgb(x,x,x) or #xxxxxx or colorname |
bgcolor: | It defines document background color. | rgb(x,x,x) or #xxxxxx or colorname |
text: | Changes body text color from default value. | rgb(x,x,x) or #xxxxxx or colorname |
title: | Specifies extra information about an element. | text |
0 comments