HTML structure has four components:
1: <! DOCTYPE HTML > statement
2: < html lang = "EN" > root element html
. 3: < head > tag is the head of the head page to be introduced into the setting information file
4: < body > tag body content is displayed on the physical placement of pages pages
HTML syntax label formats:
1. <tag name attribute name = "attribute value">
content
</ Tag name>
2. <tag name attribute name = "attribute value" />
HTML tags:
Title Tag: <hi> - <h6> represents the title character in six different text size
< H1 of > Title tag </ h1 of > < H2 > The title tag </ H2 > < H3 > Title tag </ H3 > < H4 > header tag </ H4 > < H5 > header tag </ H5 > < H6 > Title tag </ H6 >
<Img> tag is defined image of the label
< IMG the src = "This is the path of the picture" width = "Image Width" height = "image height" />
<a> label 1. hyperlink tag
< A href = "This is the link address" target = "This is a way to open the" > link content </ A > target There are four ways to open
2. Anchor Position: to set a value near the anchor tag e.g. name = "C4" and then to link the anchor <a name="C4"> 4 </a> e.g.
<body> <p> <a href="#C4">查看4</a> </p> <h2><a name="C4">4</a></h2> <p>11111111111111111111</p>
3. Other download href specified file, the browser can not handle, available for download