ul ol list + table table

A: List

1, ordered list ol type 1, i, A, a, I

<ol>

<li>1</li>

<li>2</li>

</ol>

2, there are three type ul unordered list

① circle hollow circle Ο

②disc solid circle •

③square box ♦

<ul>

<li>

1

</li>

<li>

12

</li>

</ul>

II: Table

<table>

<Caption> </ caption> title

<Tr> row

<td></td> 列

</tr>

</table>

Which focuses on - the ranks of the merger (present in the td in):

    ①rowspan: are consolidated such as: rowspan = "2" merging the two rows






    ②colspan: The columns into: colspan = "3" Merge 3

 
     


    ps: characteristics table: contour width, when you set the size of a cell, with the height of his other cells in the same row as him, he width of the same column like his (vertical and horizontal co warfare 180 a straight line)

     
     
     

<table border = "1px" width = "500px" height = "500px"> Table length width thickness pixel px

<TR>
        <TD> Ni </ td>
        <TD colspan = "2"> You </ td> Remove the merger behind a cell, across the column were combined (and may interbank combined)
    </ TR>
    <TR>
        < td rowspan = "2"> you </ td>
        <td rowspan = "2" colspan = "2"> you </ td> - a cell occupies two rows and two columns, delete the remaining cells (ie, the principle of maintaining form the size and number of flat cells)
     </ TR>

</ Table>
key - the distance between the cells and cellspacing cell, the text within the cell from the cell border cellpadding

Formula: cellspacing = cellpadding = "text from within the cell borders of cells" "distance between cells"
<Table border = ". 1" width = "300px by" height = "300px by" cellpadding = "30px" cellspacing = "20px">
 <TR>
        <td width = "60px" height = "60px"> math </ td>
        <td> language </ td>
    </ TR>
    <TR>
        <td> English </ td>
        < td> Sports </ td>
    </ TR>
</ Table>

Reproduced in: https: //www.cnblogs.com/a199706/p/11024021.html

Guess you like

Origin blog.csdn.net/weixin_34342905/article/details/92846189