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 is the standard html conforming to W3C source code?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly shows you "standard html conforms to W3C source code is how", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "standard html conforms to W3C source code is how" this article

The source code of the specification html suitable for W3C is as follows

Html standard source code-Line 1 and Line 2 of css5.com.cn

The second paragraph

The third paragraph

The center of important preferences of the html specification in accordance with the W3C standard

1. First of all, you need to DOCTYPE your name.

2. It is about to end with

3. Watch out for a pair of combinatorial labels that are about to end

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

Simplify common sense: distinction between div and span, css li

4. Individual tags such as newline tags such as br should be flashed as tags.

Zero D tags include br, meta and link.

Streamlining knowledge: br and p discriminant usage

5. sign in lowercase half-width English as much as possible, for example, use as few full-width capitals as possible, such as

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

How do you know when you need a pair of tags and when you need a singleton? this is an important thing for everyone to keep in mind when developing div+css, and to use Dreamweaver software to be simple and arbitrary.

Use Dreamweaver to arbitrarily label the following

Perhaps in the way of handwritten code in "code" in Dreamweaver software, it is common for Dreamweaver software to end a tag with ">". If it is a zero-D tag, the Dreamweaver software will passively convert it to "/ >" if it is assumed to be corresponding to a pair of tags. ">" tags will display the ">" tag and will not change to "/ >". At this time, you need to label it with "" at the end of the day, for example, "" is about to be finished.

The above is all the content of this article "what is the source code of standard html conforming to W3C". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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