HTML5 study notes (HTML5 semantics)

Source: Internet
Author: User

HTML5 semantic : so that the machine can read the content, the machine can read the standard, is the new one of these HTML5 the label.

previously written HTML when it comes to code, it's mostly Div+css , this Div you can take him as a head. When you need to express the meaning of any place, because of this so that the machine can not know what you mean, so the semantics is useful, to give you a set of standards, according to these provisions of the written, the machine can know what you mean.

(Semantic Web Part from:http://www.runoob.com/web/web-semantic.html)

ontology ( a Yes B y z Span style= "Font-family:calibri")

the implementation of the Semantic Web is based on XML(Extensible Markup Language extensible Markup langauge) Language and Resource Description Framework (RDF) to complete. XML is a tool for defining markup languages, including XML declarations, DTDs that define language syntax (document type Declaration Document type definition), a detailed description of the description tag, and the document itself. The document itself contains tags and content. RDF is used to express the contents of a Web page.

So why should the machine be able to read it?
It is not so much why the machine can read, it is better to say that the machine to understand what good!

1) SEO optimization

This thing is very important, search engine crawler will crawl your site information, and then order, of course, the first page appears your site is the best, then crawl you what information, is the machine can read the information,
The more you read, the higher the number of course is, so the semantics are really good things!

2) Facilitate team development and maintenance

Since the semantic is the standard, there are standards in the team will follow, that certainly save the development time, it is also easy to maintain the later, so that the new programmer faster access to the state, the benefits of a lot.

3) Some devices need more semantics

(screen readers, blind readers, mobile devices) need more semantic support.

4) Some devices that cannot support CSS

If the PDA, some mobile phones, etc. do not support or support the CSS, the semantics is more suitable for parsing the page.

HTML5 study notes (HTML5 semantics)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.