当前位置:编程学习 > 网站相关 >>

html各种表格

<html>
    <head>
      <title>大清帝国</title>
      <meta name="keywords" content="大清帝国之康熙大帝">
      <meta name="description" content="大清帝国之康熙大帝">
       <meta http-equiv="content-type" content="text/html;charset=utf-8 ">
    </head>
    <body>
        <center>
           <ol>
             <li>基本表格</li><!-- border表格边框--><!-- bordercolor表格边框颜色--><!--cellspacing表格边框间距-->
               <table width="300" border="1" bordercolor="black" cellspacing="0">
                 <tr>                
                   <td>百度</td>
                   <td>谷歌</td>
                   <td>搜狗</td>
                 </tr>
                  <tr>
                   <td>优酷</td>
                   <td>土豆</td>
                   <td>酷6</td>
                 </tr>
                  <tr>
                   <td>163</td>
                   <td>126</td>
                   <td>新浪</td>
                 </tr>
               </table>

               <li>无边框表格</li>
               <table width="300" border="0" bordercolor="black" cellspacing="0">
                 <tr>
                   <td>百度</td>
                   <td>谷歌</td>
                   <td>搜狗</td>
                 </tr>
                  <tr>
                   <td>优酷</td>
                   <td>土豆</td>
                   <td>酷6</td>
                 </tr>
                  <tr>
                    <td>163</td>
                    <td>126</td>
                    <td>新浪</td>
                  </tr>
               </table>

               <li>双线表格</li>
               <table width="300" border="1" bordercolor="black" cellspacing="1">
                 <tr>
                   <td>百度</td>
                   <td>谷歌</td>
                   <td>搜狗</td>
                 </tr>
                  <tr>
                   <td>优酷</td>
                   <td>土豆</td>
                   <td>酷6</td>
                 </tr>
                  <tr>
                   <td>163</td>
                   <td>126</td>
                   <td>新浪</td>
                

补充:Web开发 , 其他 ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,