HTML Tags
PS: Although some HTML has its own properties, to set the appearance of the label, but in real development, it does not use its own properties to do the appearance of processing, but with CSS.
1. < tag name attribute 1="value 1" Property 2="value 2" ... > Component Data </ Tag Name >
Example: <body size= "12px" color= "Red" align= "center" > We are all 16-period. NET Learners </body>
2, HTML structure.
<title> title </title>
<body>
Body part
</body>
3. Layout control Mark
line Break <br/>
paragraph mark <p></p>
Horizontal Line
space
Center Mark <center></center>
Cases:
<title>demo1</title>
<body >
<center> <p> I am a student who is bent on learning the number, my name is Chen Qianhong. </p></center>
<p> I am a student who is bent on learning the number, my name is 李杨. &bsp    </p>
</br>
</br>
<p> I am a student who is bent on learning the number, my name is Wang Chao. </p>
</body>
4, Numbered table column mark
There are sequence lists and no inside:
PS: Number form:type attribute
Type=1 or a or A or i or i
Set the start ordinal of a number:start Property
Start=n ( can only be a number )
<ol>
<li> small number one </li>
<li> small number 2</li>
<li> small number 3</li>
</ol>
Unordered lists and nesting:
<ul>
<li></li>
<li></li>
<li>
<ul>
<li></li>
<li></li>
</ul>
</li>
</ul>
5. Forms
Syntax and its properties:
<table>
<tr>
<td></td>
</tr>
</table>
<th></th> Header Cell
Properties: Border, Border width,cellspacing, width of the table box,cellpadding, the distance from the text within the table to the four-week border ; Height, height; width, width; bordercolor , border color; bgcolor , background color; Align , the horizontal alignment of the table in the Web page.
Focus: cross-row, cross-column
Rowspan, colspan
Table Header Tag caption
<caption align=top or bottom>
6. Relative paths and hyperlinks
<a href= "http:\\www.baidu.com" ></a>
First Class! Html