html基本元素用法

 1 <!DOCTYPE html>
 2 <html>
 3         <head>
 4             <title>temp1</title>
 5         </head>
 6         <body>
 7                 <div style="cursor:pointer"><!-- cursor设定鼠标形状为一只伸出食指的手 -->
 8                         <div>
 9                                 <div style="font-family: 微软雅黑">
10                                     <h3 style="font-size: 12px">当前未解决问题</h3><!-- h1-h6定义标题,h1定义最大的标题,h6定义最小的 -->
11                              </div>
12                               <ul style="margin-top: 2px;">
13                                       <li>criedfish</li>
14                                       <li>cream</li>   
15                              </ul> 
16                         </div>
17                 </div>
18                 
19         <hr />
20             
21         <span>coffee</span>
22         <span>sponrige</span>
23         
24         <h1>title1</h1>
25         <h2>title2</h2>
26         <h3>title3</h3>
27         <h4>title4</h4>
28         <h5>title5</h5>
29         <h6>title6</h6>
30 </body>
31 </html>

展示如下:

原文地址:https://www.cnblogs.com/wisdomns/p/6763359.html