html标准写法与dreamweaver自动生成的不一样
(编辑:jimmy 日期: 2024/11/13 浏览:3 次 )
复制代码代码如下:
<!--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="/UploadFiles/2021-03-30/8829944-148x86.jpg"><img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg"><img src="/UploadFiles/2021-03-30/8829944-148x86.jpg"><img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg"><img src="/UploadFiles/2021-03-30/8829944-148x86.jpg"><img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg"><img src="/UploadFiles/2021-03-30/8829944-148x86.jpg"><img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg"><img src="/UploadFiles/2021-03-30/8829944-148x86.jpg"><img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg"><img src="/UploadFiles/2021-03-30/8829944-148x86.jpg"></nobr>
//居中样式
<center>
<p>saddddddddddddddddddddddddddddddddd</p>
<img src="/UploadFiles/2021-03-30/8829944-148x86.jpg"><img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg"><img src="/UploadFiles/2021-03-30/8829944-148x86.jpg"><img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg"><img src="/UploadFiles/2021-03-30/8829944-148x86.jpg"><img src="http://file.ynet.com/2/1403/26/8829944-148x86.jpg"></center>
下一篇:多个div中table的tdwidth设置一样也不法对齐