Alt Show toolbar F2 modify file name
Inline element:<div> only one line </div>
Block-level element:<span></span>
Encode in UTF8 without BOM format
Install notepad++ code format need to download plug-in Tidy2, installation method: Copy Tidy2.dll to plugins in notepad++ directory, and then restart notepad++ program
<div> block-level elements can be placed in any label </div>
<span> Inline Element combination <span>
<!DOCTYPE HTML><HTML> <Head> <Metaname= "Generator"content= "HTML Tidy for HTML5 (experimental) for Windows https://github.com/w3c/tidy-html5/tree/c63cc39" /> <MetaCharSet= "UTF-8" /> <title>First page</title> </Head> <Body>Horizontal Line<HR/> <BR/> <H1>Title 1</H1> <H2>Title 2</H2> <H3>Title 3</H3> <h4>Title 4</h4> <h5>Title 5</h5> <h6>Title 6</h6> <P>to experience despair means to have gone through this period of time. Perhaps you have not been desperate, does not mean that you are not strong, but must have not experienced the despair of the person strong. </P> <P>Life without despair is not a perfect life. Despair may be emotion, cause or loneliness that can not be faced, and so on.</P>First line<BR/>Second Line<BR/>Third line<BR/>Empty F< <BR/>unordered list<ul> <Li>World</Li> <Li>Wide</Li> <Li>Web</Li> </ul> <BR/>list with sequence<ol> <Li>Abc</Li> <Li>Def</Li> <Li>GHI</Li> </ol> <BR/>definition List<DL> <DT>Apple</DT> <DD>Apple is a low-calorie diet that produces only 60,000 calories per 100 grams. The nutrient content of the apple is very soluble and easily absorbed by the human body. </DD> <DT>Orange</DT> <DD>oranges are the fruit of the rue, and China is one of the main birthplace of Orange tree. The ancient Chinese edible oranges, and the wild orange Tree for artificial cultivation, a long history. </DD> <DT>Pear</DT> <DD>pear, a kind of Bai Li, is an ancient local variety in Hebei province. It is named after a duck's head because it is protruding from the stem of the pear. Pear adaptability, good yield, large and beautiful fruit, succulent crisp, sweet, more resistant to storage. </DD> </DL> <imgsrc= "1.jpg"alt= "Couple of cats"width= "300px" /> <!--width can also be expressed as a percentage width=100% - <BR/> <ahref= "Http://www.baidu.com"title= "Baidu a bit, you know"Target= "_blank">Baidu</a> <BR/> <ahref="#"> <imgsrc= "1.jpg"alt= "Couple of cats" /> </a> <BR/> <!--just add a link to an area of the picture, using the map tag - <imgsrc= "1.jpg"alt= "Couple of cats"Usemap= "#img1" /> <MapID= "IMG1"name= "IMG1"> <!--shape can be a rect or circle rectangle to position the upper-left and lower-right corners of the graphics link area, and the circle determines the center radius - < AreaShape= "Rect"coords= "184,33,391,258"href= "Http://www.baidu.com"alt= "Baidu a bit, you know"Target= "_blank" /> < AreaShape= "Circle"coords= "155,170,20"href= "Http://www.baidu.com"alt= "Baidu a bit, you know"Target= "_blank" /> </Map></Body></HTML>
HTML Basic Tag Exercises