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>                         //超链接

<div>
 <a href="#xiapshuo">推荐小说</a><br />  
</div>                                                                                                                        //   网页内的跳转
 <div id="xiapshuo">
 <h3>推荐小说</h3>
 <ul>
  <li>遮天</li>
 </ul>

猜你喜欢

转载自www.cnblogs.com/shrdbk/p/10934983.html
今日推荐