Attributes of body Summary of main attributes of body tag_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:40:37
Original
1959 people have browsed it

bgcolor="text color" background="background image"

text="text color"

The color of the hyperlink text

In order to highlight the hyperlink, the hyperlink text is usually Use a different color from other text, and a horizontal line will be added at the bottom of the hyperlink text.
Hyperlink text in HTML text has default colors, and these colors can also be customized in the markup. There are 3 attributes:
⑴ link: color of unvisited hyperlinks
⑵ vlink: color of visited hyperlinks
⑶ alink: color when the mouse clicks on the hyperlink
Such as :
Document edge
By default, the document is displayed at a certain 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 markup.
⑴ topmargin: The size of the upper margin of the document
⑵ leftmargin: The size of the left margin of the document
⑶ rightmargin: The size of the right margin of the document
⑷ bottommargin: The size of the lower edge of the document
Such as :
The unit of edge size here is "pixels".

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!