With the increasing popularity of WEB standards in China, structural behavior separation, modularity,SemanticsConcepts such as refinement and elegance and degradation have also become an important entry for assessing a front-end personnel's understanding of WEB standards, "semantic" has been highlighted. As a beginner's front-end worker, I also thought that, "semantic" is a method to organize (x) HTML structures using tags with the most favorable search engine weights.
After reading a lot of front-end books and articles from many predecessors, I began to realize my consciousness and gradually understand the value of "semantic. The following is only a summary of my daily practice. I have gathered the views of several predecessors and stood on the shoulders of giants to see them further.
What is "Semantic" (Semantic)
"Semantic" refers to the ability of machines to study and collect information when less human intervention is required, so that web pages can be understood by machines and ultimately benefit humans. Specifically, with the help of popular BI forums, "semantic meaning is not to treat your girlfriend as a friend." Below is a simple XML format example:
However, with CSS control, it is easy for us to show "Girlfriends" like "friends". If we only focus on the presentation layer, the tag is simply a "hook) ", which is provided to CSS and JS for processing. Why do we need to emphasize" semantic "? We will discuss it in detail below.
Meaning of Semantics
1. Search Engine
Many predecessors have already explained the optimization of search engines in a variety of ways, such as Hx weights and hidden texts, A search engine named Wolfram (http://www.wolframalpha.com/) has caught attention, and we know that Google will sort the search results based on the prvalues of each website, and other search engines also have their own algorithms, wolfram claims to make a judgment on the premise of "Understanding" the user's input content. When "who is adrian" is input, Wolfram gave me such feedback, although the results are not accurate.
When we contact the front-end work, isn't the "semantic" that we admire so that computers can understand our content? For example, <acronym title = "World Wildlife Fund"> WWF </acronym>, the computer can understand that WWF is worth World Wildlife Fund, not World Water Forum, it is unrealistic for computers to fully understand our content. Even if a search engine like Wolfram is just a flash in the sky, its vision is, making the world's knodge DGE computable deserves our pursuit.
- Four pages in total:
- Previous Page
- 1
- 2
- 3
- 4
- Next Page