Home > Article > Web Front-end > What are the differences between the standard writing method of HTML and the code generated by Dreamweaver?
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>
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>
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
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!