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

How to interpret the new grammar of HTML 5

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

Share

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

This article is about how to interpret the new grammar of HTML 5. The editor thinks it is very practical, so I hope you can get something after reading this article. Let's follow the editor to have a look.

What can HTML 5 bring to developers as the next generation of Web development standards? As the designers of HTML 5, how do they improve it according to the current situation of the Internet to make it easier for developers to use?

New tags for HTML 5

The task that designers need to accomplish is to develop a richer and more meaningful semantics for HTML 5, and it is conceivable that this new solution will be very flexible and efficient, while adapting to all modern Internet standards. Here are some new tags to be added to HTML 5.

The ◆ tag defines an article

The ◆ tag defines the sidebar of the content section of the page

◆ tags define audio content

◆ tags define pictures

The ◆ tag defines a command button

The ◆ tag defines a drop-down list

The ◆ tag defines the details of an element

◆ tag defines a dialog box (dialog box)

◆ tags define external interactive content or plug-ins

The ◆ tag defines a set of media content and their titles

The ◆ tag defines the bottom of a page or area

The ◆ tag defines the header of a page or area

Information about a block in the ◆ tag definition file

The ◆ tag defines a generated key value in the form

◆ tags define tagged text

◆ tag defines measurement within a

Predefined range

◆ tags define navigation links

The ◆ tag defines some output types

The ◆ tag defines the process of a task

The ◆ tag is used by Ruby annotations to tell browsers that do not support the Ruby element how to display

The ◆ tag defines a reference to the ruby

Annotations's interpretation

The ◆ tag defines ruby annotations.

The ◆ tag defines an area

◆ tags define media resources

The ◆ tag defines a date / time

The ◆ tag defines a video

It is hoped that all of these tags will become truly "living" and useful tags, not just the ones that look cool today.

Burden reduction of HTML 5

Do you remember the old days when HTML3 was regarded as a magical thing that could only work in Netscape? Yes, that is the dawn of the Internet age. Of course we won't forget that history, but it makes sense to say goodbye to some good but old things (especially when they are not considered to be so useful at present, or no one pays attention to them anymore).

As a result, the designers of HTML 5 abolished some of the old tags, because these standards are only used by HTML geeks, and because these tags are completely useless, they will no longer be included in the new HTML tags-I think we should thank the designers for that. After all, these marks are so old that it is conceivable that in 20 years' time our children will think that only Shakespeare will use them in his sonnets. Anyway, let's take another look at them in the Internet Museum (is there really such a museum? ).

The ◆ tag defines an acronym.

The ◆ tag defines an embedded applet.

◆ tag specifies a default

Font-color, font-size, or font-family for all the text in a document.

◆ tag is used to format the text one

Size bigger, and can be in relation to your or

Size, if you've specified either one.

◆ tag is used to center text.

◆ tag is used to list directory titles.

◆ tag specifies the font face, font

Size, and font color of text.

◆ tag defines one particular window

(frame) within a frameset.

Tag definition a frameset. The

Frameset element holds two or more frame elements. Each frame element

Holds a separate document.

◆ and tags

Define strikethrough text.

◆ tag is used for "typetype" text, or

Fixed-width typewriter-type font. Other than the different type style

It has normal font characteristics

◆ tag is used to underline text.

These tags are basically useless (you may find a few of them similar to the new ones in HTML 5). Some of them we used in earlier browsers have lost their usefulness, while other markup functions have been replaced by CSS functions (such as markup for font and text styling).

Important questions about tagging

Replacing tags with new tags is a major semantic achievement of HTML 5. This tag is an important tag in HTML 4 and is widely used in HTML, but its semantics are so weak that it is useless in the task of declaring different blocks in the organizational structure of a web page. New HTML 5 tags, for example,-will be more useful and convenient, allowing you to specify the use of different areas of the page and clearly show the structure of the site. This means that even if you are a novice or average programmer, you can clearly understand the structure of the entire page based on HTML code alone-more importantly, search engines will be delighted to be able to parse the structure of the page so easily.

What's in it for us?

There has been a lot of discussion about the value of new tags and semantics, and some people think that these semantics and visual representations don't make any sense-because they bring more complex code, create opportunities to make new mistakes with these new HTML code, and the value of HTML 5 new semantics lies in improving the level of interaction and collaboration between site users and these technologies, which is what keeps the Internet moving forward.

By the same token, we should understand that just as HTML 5 makes us feel so cool, people have made a lot of efforts on it and have high hopes for the development of the Internet in the next five years. Today, these new tags and semantics do look great, and we all like it, but don't forget that everything is constantly changing to meet people's needs, and new language features must depend on people's use. the heavy use of the Internet community is the only way to turn simple new things into useful new things.

The above is how to interpret the new grammar of HTML 5. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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