XML/HTML CodeCopy content to clipboard
△Standard HTML conforms to w3c source code Things to note about HTML standards that comply with W3C standards 1. First, the DOCTYPE declaration 2. If it starts with <html>, it should end with </html> 3. Note that a pair of combined tags such as <title> must end with </title>. Common combination tags include div, p, title, head, html, table, tr, td, span, style, b, strong, ul, ol, li, dl combination (dl, dt, dd), body 4. Single tags such as line break tags br and other tags should be represented by <br /> tags Single tags include br, meta, and link 5. For tag names, try to use lowercase letters, such as <div>, and avoid using uppercase letters, such as <DIV>. According to HTML standards, web standards, and W3C standards, the above points need to be followed to comply with the standards. How do you know when you need a pair of tags and when you need a single tag? This requires you to pay more attention to it when developing div+css, and you can also use Dreamweaver software to make a simple judgment. The method to use Dreamweaver to determine the tag is as follows You can do it by handwriting in the "Code" of Dreamweaver software. Generally, when Dreamweaver software writes a tag ending with ">", if it is a single tag, Dreamweaver software will automatically convert it to "/>", such as "<br />". If it corresponds to a pair of tags, it will not convert the ">" tag and will display the ">" tag instead of changing to "/>". At this time, you need to end the tag with "</" plus the tag name plus ">", such as "<div>" should end with "</div>". The above detailed explanation of the points that need to be paid attention to in the HTML standard that complies with the W3C standard is all the content that the editor shares with you. I hope it can give you a reference, and I also hope that you will support 123WORDPRESS.COM. |
<<: Summary of the application of transition components in Vue projects
>>: HTML uses form tags to implement the registration page example code
This article takes Centos7.6 system and Oracle11g...
1. Create a user: Order: CREATE USER 'usernam...
1. Docker mounts the local directory Docker can s...
MySQL is a relational database management system ...
A few days ago, I exchanged some knowledge about ...
<br />There is no road in the world. When mo...
This article example shares the specific code of ...
Table of contents Separation effect Command line ...
In the previous article "MySQL table structu...
<br />Original URL: http://www.lxdong.com/po...
Table of contents 1. React Basic Usage Notable Fe...
Table of contents Overview Code Implementation Pa...
1. This is a bit complicated to understand, I hop...
<br />This is an article I collected a long ...
This article shares with you a uniform motion imp...