亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

課程表及table應(yīng)用

asal 2019-04-01 04:10:28 302
abstrak:<!DOCTYPE html><html><head>    <title>NO.1</title></head><body><!--table:定義表格th:定義表格中表頭tr:定義表格中表行td:定義表格中單元格--><table border="1.5px&qu

<!DOCTYPE html>

<html>


<head>

    <title>NO.1</title>

</head>


<body>

<!--table:定義表格

th:定義表格中表頭

tr:定義表格中表行

td:定義表格中單元格-->

<table border="1.5px" widtd="1200px" height="800px" bgcolor="#ccc" bordercolor="000" align="center" cellspacing="0">

<!--外框像素       寬度           高度           背景顏色       邊框顏色          對(duì)齊方式       間隔          -- >

    <tr height="100" align="center">

        <th width="200" height="100" bgcolor="#ccc">課程表</th>

        <th width="200" height="100" bgcolor="red">星期一</th>

        <th width="200" height="100" >星期二</th>

        <th width="200" height="100" bgcolor="red">星期三</th>

        <th width="200" height="100" >星期四</th>

        <th width="200" height="100" bgcolor="red">星期五</th>

    </tr>

    <tr height="100" align="center">

        <td width="200" height="100" bgcolor="467500" rowspan="4" >上午</th>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

    </tr>

    <tr height="100" align="center">

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

    </tr>

    <tr height="100" align="center">

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

    </tr>

    <tr height="100" align="center">

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

    </tr>

    <tr height="100" align="center">

        <th  width="200" height="100" bgcolor="467500" rowspan="3"align="center">下午</th>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

    </tr>

    <tr height="100" align="center">

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

     </tr>   

     <tr height="100" align="center">

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

        <td width="200" height="100" >語(yǔ)文</td>

        <td width="200" height="100" bgcolor="red">語(yǔ)文</td>

     </tr> 

</table>


</body>


</html>


Guru membetulkan:天蓬老師Masa pembetulan:2019-04-01 09:31:35
Rumusan guru:表格<table>標(biāo)簽中, 推薦添另<tbody>標(biāo)簽, 以防止 在用js操作時(shí), 無(wú)法正確定位單元格

Nota Keluaran

Penyertaan Popular