In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what is the main focus of html standard, the article is very detailed, has a certain reference value, interested friends must read it!
Note the web standard of html
The standard html conforms to the W3C source code as follows
Html standard source code-www..com
First line
Second line
The second paragraph
The third paragraph
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
Extended knowledge: the difference between div and span, css li
4. Individual tags, such as newline tags such as br, should be represented by tags.
Individual tags include br, meta and link.
Extended knowledge: the difference between br and p
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 "".
These are all the contents of the article "what are the main points for attention to html Standards?" Thank you for your reading! Hope to share the content to help you, more related 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.