Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What should be paid attention to in the html standard conforming to the W3C standard

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article will explain in detail what you need to pay attention to about the html standard in line with the W3C standard, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.

XML/HTML Code copies content to the clipboard

Html standard source code-html standard mainly pays attention to the first line and the second line

The second paragraph

The third paragraph

△ standard html conforms to W3C source code

What should be paid attention to in accordance with the html standard of W3C standard

1. First of all, you need to declare DOCTYPE

2. It is about to end with

3. Note that a pair of combined labels is about to end with

Common pairs of combined tags are div, p, title, head, html, table, tr, td, span, style, b, strong, ul, ol, li, dl combination (dl, dt, dd), body

4. Individual tags, such as newline tags such as br, should be represented by tags.

Individual tags include br, meta and link.

5. sign your signature in lowercase half-width English as much as possible, for example, try not to use full-width uppercase such as

According to html standard, web standard and W3C standard, it is necessary to follow the above points to comply with the standard.

How to know when to need a pair of tags, when the need for singletons, this requires everyone in the development of div+css to pay more attention to remember, there is to use Dreamweaver software to simple judgment.

Using Dreamweaver to determine the tag is as follows

You can write the code by hand in the "code" in the Dreamweaver software. Generally speaking, when Dreamweaver software writes to end a tag with ">", the Dreamweaver software will automatically convert to "/ >" if it is a separate tag. If it is corresponding to a pair of tags, the ">" tag will not be converted to ">". The tag will display the ">" tag and will not change to "/ >". At this time, you need to end the tag with "". For example, "" will end with "".

This is the end of what you need to pay attention to about the html standard that conforms to the W3C standard. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report