小编给大家分享一下html中的标准写法与dreamweaver生成代码有哪些不一样,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!
代码如下:
<!–doctype指定文档类型htm–>
<!doctypehtml>
<html>
<header>
<!–设置字符集utf-8–>
<metacharset="utf-8">
<style>
<!–这里写你的css代码–>
</style>
<script>
//这里写你的js代码
</script>
</header>
<body>
<!–这里bof体内容–>
</body>
</html>
接下来介绍html标签
<br/>换行标签
//不换行
<nobr>
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
</nobr>
//居中样式
<center>
<p>saddddddddddddddddddddddddddddddddd</p>
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
<imgsrc="http://file.ynet.com/2/1403/26/8829944-148×86.jpg">
</center>
看完了这篇文章,相信你对“html中的标准写法与dreamweaver生成代码有哪些不一样”有了一定的了解,如果想了解更多相关知识,欢迎关注云搜网行业资讯频道,感谢各位的阅读!