当前位置:Gxlcms > html代码 > html标准写法与dreamweaver自动生成的不一样

html标准写法与dreamweaver自动生成的不一样

时间:2021-07-01 10:21:17 帮助过:49人阅读


代码如下:

<!--doctype指定文档类型htm-->
<!doctype html>
<html>
<header>
<!--设置字符集 utf-8-->
<meta charset="utf-8">
<style>
<!--这里写你的css代码-->
</style>
<script>
//这里写你的js代码
</script>
</header>
<body>
<!--这里bof体内容-->
</body>
</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>

人气教程排行