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

网站建设 2021-07-02 22:42www.dzhlxh.cn网站建设

复制代码
代码如下:

<!--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>

Copyright © 2016-2025 www.dzhlxh.cn 金源码 版权所有 Power by

网站模板下载|网络推广|微博营销|seo优化|视频营销|网络营销|微信营销|网站建设|织梦模板|小程序模板