前端

作者: 周肸 | 来源:发表于2018-11-25 18:35 被阅读0次

    1.背景

    <!DOCTYPE html>
    <html>
    <head>
        <title>背景</title>
        <meta charset="utf-8" />
        <style type="text/css">
            .box1{
                  width: 1920px;
                  height: 1200px;
                  margin: 0 auto;
                  background-color: #bfa;
                /*background-image: url(timg3.jpg)*/
                  }
          </style>
    </head>
    <body>
        <div class="box1"></div>
    </body>
    </html>
    

    2.表格

    <!DOCTYPE html>
    <html>
    <head>
          <title>表格</title>
          <meta charset="utf-8" />
          <style type="text/css">
        
        </style>
    </head>
      <body>
        <table border="1" width="50%" align="center">
        <tr>
            <td rowspan="2">A1</td>
            <td>A2</td>
            <td>A3</td>
        </tr>
        <tr>
            
            <td colspan="2">A2</td>
            
        </tr>
    
       </table>
    </body>
    </htmml>
    

    相关文章

      网友评论

          本文标题:前端

          本文链接:https://www.haomeiwen.com/subject/rotmqqtx.html