What are the attributes of body in html
This article mainly shows you "what are the attributes of body in html", which is easy to understand and clear, hoping to help you solve your doubts, let me lead you to study and learn "what are the attributes of body in html" this article.
Bgcolor= "text Color" background= "background Picture"
Text= "text Color"
The color of the hyperlink text
In order to highlight the hyperlink, the hyperlink text is usually in a different color from other text, and a horizontal line is added to the bottom of the hyperlink text.
Hyperlink text for HTML text has default colors, which can also be customized in tags. There are three attributes:
⑴ link: unvisited hyperlink color
⑵ vlink: hyperlink colors that have been visited
⑶ alink: the color when the mouse clicks on the hyperlink
Such as:
Document edge
By default, the location where the document is displayed is at a distance from the browser's border. You can customize the distance between the edge of the document and the window by adding attributes in the tag.
⑴ topmargin: the size of the edge on the document
⑵ leftmargin: the size of the left edge of the document
⑶ rightmargin: size of the edge on the right side of the document
⑷ bottommargin: the size of the edge under the document
Such as:
Here the unit of edge size is "pixel".
The above is all the content of the article "what are the attributes of body in html". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!