Home >Web Front-end >HTML Tutorial >HTML5-Table_html/css_WEB-ITnose

HTML5-Table_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:46:491088browse

Table: header63bd76834ec05ac1f4c0ebbeaafb0994, rowa34de1251f0d9fe1e645927f19a896e8, columnb6c5a531a458a2e790c1fd6421739d1c, titleb4d429308760b6c2d20d6300079ed38e

Attribute: cellpadding ="10" cellspacing="10": cell spacing, cell margin|

bgcolor="#8a2be2"[Background color], background="images/html.jpg"[Background image]

<!DOCTYPE html><html><head lang="en">    <meta charset="UTF-8">    <title>表格</title></head><body>    <p>表格</p>    <table border="1">        <caption>重要表格</caption>        <!-- <caption>重要表格</caption>:表头-->        <tr>            <th>单元</th>            <th>单元</th>            <th>单元</th>        </tr>        <tr>            <td>单元格1</td>            <td>单元格2</td>            <td>单元格3</td>        </tr>        <tr>            <td>单元格1</td>            <td>单元格2</td>            <td>                <ul>                    <li>苹果</li>                    <li>苹果</li>                    <li>苹果</li>                </ul>            </td>        </tr>    </table>    <br/>    <table border="1" cellpadding="10" cellspacing="10" bgcolor="#8a2be2">        <!--  cellpadding="10" cellspacing="10":单元格间距,单元格边距-->        <tr>        <td>单元格1</td>        <td>单元格2</td>        <td>单元格3</td>        </tr>        <tr>            <td>单元格4</td>            <td>单元格4</td>            <td>单元格6</td>        </tr>    </table>    <!-- bgcolor="#8a2be2"【背景颜色】,background="images/html.jpg"【背景图片】-->    <br/>    <table border="1" cellpadding="10" cellspacing="10" background="images/html.jpg">        <!--  cellpadding="10" cellspacing="10":单元格间距,单元格边距-->        <tr>            <td>单元格1</td>            <td>单元格2</td>            <td>单元格3</td>        </tr>        <tr>            <td>单元格4</td>            <td>单元格4</td>            <td>单元格6</td>        </tr>    </table></body></html>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn