Home  >  Article  >  Web Front-end  >  HTML standard writing method and Dreamweaver automatically generate different example analysis

HTML standard writing method and Dreamweaver automatically generate different example analysis

高洛峰
高洛峰Original
2017-03-06 16:24:461061browse

When everyone uses HTML, it is basically automatically generated using Dreamweaver. The HTML writing method introduced below is different from the past. Interested friends can refer to the

code as follows :

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

For more html standard writing methods and dreamweaver automatically generated examples and analysis related articles, please pay attention to the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn