5.27 front end of the first day of learning --html

<! DOCTYPE html>         declaration HTML  
<HTML>
<head>            <-! Some basic information that defines a web page ->

<Meta charset = "UTF-. 8">        -! charset coded character sets ->

<-! UTF-8 Unicode
gb2312 Chinese standard Article 2312 Chinese, Korean, .... most Asian languages (traditional Chinese characters are not supported)
GBK expansion on the basis of the above can support the traditional characters
unicode change the memory big
UTF-8 ->

<title>这是一个标题</title>
</head>
<body>
<table border="1" cellpadding="20" cellspacing="0">
<caption>
<font color="crimson" size="3" />情况一览表</font>
</caption>
<tr align="center" ><b>
<td>姓名</td>
<td>性别</td>
<td>年龄</td>
<td rowspan="2"></td>
</b></tr>
<tr align="center">
<td>张三</td>
<td>男</td>
<td>20</td>
<!--<td></td>-->
</tr >
<tr align="center">
<td>李四</td>
<td colspan="2" rowspan="2">男</td>
<!--<td >20</td>-->
<td></td>
</tr>
<tr align="center">
<td>翠花</td>
<!--<td>女</td>-->
<td>21</td>
<td></td>
</tr>
<tr align="center">
<td>如花</td>
<td>女</td>
<td>19</td>
<td colspan="2"></td>
<!--<td></td>-->
</tr>
<tr align="center">
<td>菜花</td>
<td>女</td>
<td>19</td>
<td></td>
</tr>
</table>
</body>
</html>

supplement:

The tag (tag elements, the node (it is called in js))

On one line, only when the line does not fit on time will line breaks
can not set the element width and height, width and height of the content to hold up to the
row within the block tags: in one row, and may set the width and height


Block-level tag
their own line
may be wider and higher

<! - This is the distance cellpadding content unit from Gerry surface cell borders ->
<! - This is the distance between cellspacing cell and cell ->
<! - This is generally set would not have to set the width and height of the table after two attributes ->

 

! - comment content
annotation is for developers to see, not to the user to see. In the browser, touch the comment will skip, not to resolve his
comments do not nest inside the comment
->
<! - comments shortcut
selection ctrl + /

<! - all together spaces and line breaks can only be resolved to a space ->
->
<- escape character!
& Nbsp; space
& lt; <
& gt;>
& Copy; Rights symbol
<br / > tag indicates a single line feed

<i> inclined </ I>
<S> Delete </ S>
<U> underline </ U>
<B> bold </ B >

Guess you like

Origin www.cnblogs.com/awei313558148/p/10931962.html