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="注册">                       //按钮
posted @ 2019-05-28 07:50  孙-浩然  阅读(1268)  评论(0编辑  收藏  举报