Maison  >  Article  >  interface Web  >  html标准写法与dreamweaver自动生成不一样的示例分析

html标准写法与dreamweaver自动生成不一样的示例分析

高洛峰
高洛峰original
2017-03-06 16:24:461061parcourir

大家在使用html的过程中,基本上都是使用dreamweaver自动生成的,而下面要介绍的html写法和以往有所不一样,感兴趣的朋友可以参考下

代码如下:

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

更多html标准写法与dreamweaver自动生成不一样的示例分析相关文章请关注PHP中文网!

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn