1. The HTML element and tag
code is as follows:


<Html>//the start symbol. If there are no browsers can also parse
<Head>//the document header
<Title>
My name is cauthy!//start the title of the document
</title>//end of the title of the document
</head>//over the top of the document
<The body color="red" >//the document body
Hello World!//the browser displays the contents of the
</body>//end of the document body
</html>//end of the HTML document

note: in HTML, attributes, and label the case has nothing to do. Attribute values can add double quotation marks, also can not add.

3. The paragraph control related tag
code is as follows:


<Html>
<Head> <Title> Quiet night thoughts </title> </head>
<Body>
<P align="center" >

quiet night thoughts <Hr color="# ffoooo" >
<P align="center" >
bed Ming moonlight, doubt is frost on the ground.

look at the bright moon, bowed their heads and remembering home.
</body>
</html>//rendering

4. Text display related tag
code is as follows:


<Html>
<Head> <Title> Quiet night thoughts </title> </head>
<Body>
<Center>
<H1 ><Fontcolor="red" ><B> <I> Quiet night thoughts </i> </b> </font> </h1 >Li bai

<Hr color="# ffoooo" >
<P>
<Font color="blue" size=6 >
bed Ming moonlight, doubt is frost on the ground.

look at the bright moon, bowed their heads and remembering home. </font>
</center>
</body>
</html>

5. How to enter special characters
code is as follows:


<Ol start="10" type="I" >
<LI>
math <Livalue="http://www.jb51.net//web/20" >Chinese
<LI> Physical
</ol>
<Ul type="circle" >
<LI>
math <LI> Chinese
<LI> Physical
</ul>
<Dl >
<Dt>
math <Dd> Chinese
<Dt> Physical
<Dd> Chemical
</dl>

8. Table
code is as follows:


<Html>
<Head> <Title> Form </title> </head>
<Body>
<The table border="5" align="center" bgcolor="bule" >
<Caption> Test scores </caption>
<The tr align="center" valign="middle" >
<Th> Language </th>
<Th> Mathematics </th>
<Th> English </th>
</tr>
<The tr align="center" valign="middle" >
<Td> 80 </td>
<Td> 70 </td>
<Td> 60 </td>
<The tr align="center" valign="middle" >
<Td> 60 </td>
<Td> 70 </td>
<Td> 80 </td>
</table>
</body>
</html>

9. The form of the create
code is as follows:


<Html>
<Head> <Title> The form </title> </head>
<Body>
<The form method="get" action="reg. JSP >"
<The table border="0" >
<The tr valign="middle" ></tr>
<Td> User name: </td>
<Td> <20 inputtype="text" size="" name=" user "></td>
<The tr align="left" valign="middle" ></tr>
<Td> Password: </td>
<Td> <Inputtype="password" ></td>
<The tr align="left" valign="middle" ></tr>
<Td> Interest </td>
<Td> <Inputtype="checkbox" name="interest" value="http://www.jb51.net//web/football" >Football
<Input type="checkbox" name="interest" value="http://www.jb51.net//web/basketball" >Basketball
</td>
<The tr align="left" valign="middle" ></tr>
<Td> Gender </td>
<Td> <Inputtype="radio" name="sex" checked value="http://www.jb51.net//web/1" >Male
<Input type="radio" name="sex" value="http://www.jb51.net//web/0" >Female
</td>
</select> </td>
<The tr align="left" valign="middle" ></tr>
<Tdvalign="top" >Personal profile: </td>
<Td> <Textareaname="personal" rols="5" cols="20" >Profile </textarea>
</td>
<The tr align="left" valign="middle" ></tr>
<Td> </td>
<Td> <Inputtype="hidden" value="http://www.jb51.net//web/001" name="id" ></td>
<The tr align="left" valign="middle" ></tr>
<Td> </td>
<Td> <Reset the inputtype="reset" value="http://www.jb51.net//web/" ><Submitted inputtype="submit" value="http://www.jb51.net//web/" ></td>
</table>
</form>
</body>
</html>

the hyperlink
code is as follows:


<A href=http://www.jb51.net//web/” URL” >… Link words </a>
<A href=http://www.jb51.net//web/” Form. Html” >The current directory </a>
<ahref=http://www.jb51.net//” Form. Html” >On the layer of the current directory catalog </a>
<ahref=http://www.jb51.net//web/” E://form. Html” >The absolute path </a>
<ahref=http://www.jb51.net//web/” http://www.baidu.com&rdquo; >The world wide web address </a>

11. Embedded image
code is as follows:


<Imag src=http://www.jb51.net//web/” URL” Width=&throughout; Throughout the &; Height=&throughout; Throughout the &; >


This concludes the body part