.<body></body>
Properties that can be used in the 2.<body> element:
| Property name |
Writing |
| Text Display Direction |
Dir |
| Specify language |
Lang |
| Background image |
Background |
| Background color |
BgColor |
| Title |
Title |
| Text |
CharSet |
| Specify Connection Path |
Text |
| Link |
Link |
| has been linked |
Vlink |
| Activate link |
ALink |
| Mark |
Id |
| Class |
Class |
| Defining cascading Styles |
Style |
| Left boundary |
LeftMargin |
| Upper border |
TopMargin |
3.<body background= "picture path" > Include content </body>
<body background= "Picture path" bgproperties= "fixed" > contains content </body> (Bgproperties used to specify whether the background picture can scroll, when scrolling the browser scroll bar, the page background can be rolled Change position, fixed: The meaning is the background picture fixed)
4.<body text= "color value" > Include content </body>
5. LeftMargin and TopMargin Two properties are exclusive to IE browser, if you want to achieve the same effect in other browsers, use cascading styles.
6.<body link= "color value" > Include content </body>
<body vlink= "color value" > Include content </body>
<body alink= "color value" > Include content </body>
7.<body class= "Name of class defined" ></body>
8. Use the music background <bgsound> element, which is a unique attribute of IE browser. <bgsound> includes music address properties: SRC, repeating properties: loop, whose property value is repeat Count
<bgsound property = "attribute value" >
Html--body elements