站长资源网页制作

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

整理:jimmy2024/12/27浏览2
简介复制代码代码如下:

复制代码代码如下:
<!--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>