html Section
/*Set CSS styles for div tags*/
/*div{
background-color: yellow;
width: 300px;
height:100px;
}*/
/*.name Get the label with class name*/
.div1{
width: 500px;
height: 100px;
background-color: yellow;
}
.div2{
width: 30 0px;
height: 50px;
background-color: red;
}
< !-- body is the main part of the web page , the content part displayed on the web page is written under this tag-->
< ;!-- h1 - h6 Six-level title tags -->
First-level title
Second-level title
Level 3 heading
Level 4 heading
Level 5 heading
& lt ;br>
Six-level headings
;
屌丝
屌丝
-->
Li Bai (701-762), named Taibai, also known as Qinglian Jushi. Known as "The Immortal", he was a great romantic poet in the Tang Dynasty and was hailed as the "Immortal of Poetry" by later generations. Together with Du Fu, he is called "Li Du". In order to be with the other two poets Li Shangyin and Du Mu, he is called "Little Li Du". "Du" difference, Du Fu and Li Bai are also collectively known as "Big Li Du". He is a cheerful and generous person, loves drinking, writing poems, and making friends.
Bold
< ;!-- 5 .em tag italics-->
italics
NBA
Entertainment
News
Pictures
Movies
Music
< !-- 9.ol ordered list-->
NBA
Entertainment
News
Pictures
Movies
Music< ;/li>
li -->
< ;!--
-->
< !--Attribute alt If the image fails to load, the prompt part added-->
< ;/html>