html标准写法
1 <!--doctype指定文档类型htm--> 3 <!doctype html> 4 <html> 5 <header> 6 <!--设置字符集 utf-8--> 7 <meta charset="utf-8"> 8 <style> 9 <!--这里写你的css代码--> 10 </style> 11 <script> 12 //这里写你的js代码 13 </script> 14 </header> 15 <body> 16 <!--这里bof体内容--> 17 </body> 18 </html>
接下来介绍html标签
<br/> 换行标签
//不换行
<nobr>
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
</nobr>
//居中样式
<center>
<p>saddddddddddddddddddddddddddddddddd</p>
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
<img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg">
</center>