zoukankan      html  css  js  c++  java
  • html的基本框架和常用标签


    <!DOCTYPE html>      
     <html>
      <head>
       <meat charset="utf-8">    
       <title></title>
      </head>
      <body>
       
      </body>
     </html>
     
      jb2312  <meat charset="utf-8">      //防止乱码的格式

    &nbsp;       //空格

    <style type="text/css">
     table,tr,th,td{border:1px solid;}                         //表格
    </style> 
    tdcolspan                                   //合并(行)
    strong   b                                  //粗体
    i,em,cite                                    //斜体
    sup                                                          //上标
    sub                                        //下标
    s,u                                        //划线(中/下)
    big、small                                                                                                                //字号
    <a href="https://www.youacg.com" target="_blank">星幻论坛</a>                         //超链接
     
    font-family:     //字体
    font-size:     //字号
    font-weight:     //字的粗细
     align="center     //居中

    <div>
     <a href="#xiapshuo">推荐小说</a><br />  
    </div>                                                                                                                        //   网页内的跳转
     <div id="xiapshuo">
     <h3>推荐小说</h3>
     <ul>
      <li>遮天</li>
     </ul>
     
        //注册表单
    <form name="" action="" method=""target="">
    用户名<input type="text" name="" value="" size=""/>             //账号框
    密码<input type="password" maxlength=""/>                 //密码框
    <input type="radio" name="sex"/>男
    <input type="radio" name="sex"/>女                     //选择的点
    <input type="submit" value="注册">                       //按钮
  • 相关阅读:
    Codeforces Round #670 (Div. 2)
    BUPT训练随笔(round 5)
    BUPT训练随笔(round 4)
    BUPT训练随笔(round 3)
    BUPT训练随笔(round 2)
    BUPT训练随笔(round 1)
    ctsc&apio2018八日游
    没有标题0.0
    splay:优雅的区间暴力!
    FJOI游记(日记向 不定期更新)
  • 原文地址:https://www.cnblogs.com/shrdbk/p/10934983.html
Copyright © 2011-2022 走看看