Home > Web Front-end > HTML Tutorial > What are the differences between the standard writing method of HTML and the code generated by Dreamweaver?

What are the differences between the standard writing method of HTML and the code generated by Dreamweaver?

php中世界最好的语言
Release: 2018-02-05 09:52:05
Original
2296 people have browsed it

This time I will bring you the differences between html standard writing and dreamweaver generated code, html standard writing and dreamweaver What are the precautions when generating code? The following is a practical case, let’s take a look.

The code is 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>
Copy after login

Next introduce the html tag

<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>
Copy after login

I believe you have read these cases After mastering the method, please pay attention to other related articles on the php Chinese website for more exciting content!

Related reading:

How to implement refresh redirection using the HTML header tag meta

The form will automatically appear after the carriage return in the web page How to solve the problem of submitting a jump to other pages

How to optimize the HTML input box to improve user experience and ease of use

How to implement single selection and multiple selection in the select tag in HTML

The above is the detailed content of What are the differences between the standard writing method of HTML and the code generated by Dreamweaver?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template