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 structure of HTML5?

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

Share

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

This article will explain in detail how the structure of HTML5 is for you. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Even well-formed HTML pages are difficult to deal with because of the lack of structure. The level of the title must be analyzed to see how the sections are divided. Sidebars, footers, headers, navigation bars, main content areas, and articles are all represented by generic div elements. HTML 5 adds some new elements specifically to identify these common structures:

Section: this can be a chapter or a section of a book, or actually anything with its own title in HTML 4.

Header: the header displayed on the page; unlike the head element

Footer: footer; can display signatures in email messages

Nav: a set of links to other pages

An article in an article:blog, magazine, compilation, etc.

Let's consider a typical blog home page with a header at the top, a footer at the bottom, several articles, a navigation area, and a sidebar. See the typical blog page in Code 1.

Mokka mit Schlag

Mokka mit Schlag

Spring Comes (and Goes) in Sussex County

Yesterday I joined the Brooklyn Bird Club for our

Annual trip to Western New Jersey, specifically Hyper

Humus, a relatively recently discovered hot spot. It

Started out as a nice winter morning when we arrived

At the site at 7:30 A.M., progressed to Spring around

10:00 A.M., and reached early summer by 10:15.

But does it count for your life list?

Seems you can now go bird watching via the Internet. I

Haven't been able to test it out yet (20 user

Limit apparently) but this is certainly cool.

Personally, I can't imagine it replacing

Actually being out in the field by any small amount.

On the other hand, I've always found it quite

Sad to meet senior birders who are no longer able to

Hold binoculars steady or get to the park. I can

Imagine this might be of some interest to them. At

Least one elderly birder did a big year on TV, after

He could no longer get out so much. This certainly

Tops that.

«_ fcksavedurl= "" / blog/page/2/ "> «" Previous Entries

Info

Comment Policy

Todo List

Archives

April 2007

March 2007

February 2007

January 2007

Copyright 2007 Elliotte Rusty Harold

Even with the correct indentation, these nested div are still very confusing. In HTML5, you can replace these elements with semantic elements, as shown in the typical blog page written in HTML5 in code 2

Mokka mit Schlag

Mokka mit Schlag

Spring Comes (and Goes) in Sussex County

Yesterday I joined the Brooklyn Bird Club for our

Annual trip to Western New Jersey, specifically Hyper

Humus, a relatively recently discovered hot spot. It

Started out as a nice winter morning when we arrived at

The site at 7:30 A.M., progressed to Spring around 10:00

A.M., and reached early summer by 10:15.

But does it count for your life list?

Seems you can now go bird watching via the Internet. I

Haven't been able to test it out yet (20 user

Limit apparently) but this is certainly cool.

Personally, I can't imagine it replacing

Actually being out in the field by any small amount.

On the other hand, I've always found it quite

Sad to meet senior birders who are no longer able to

Hold binoculars steady or get to the park. I can

Imagine this might be of some interest to them. At

Least one elderly birder did a big year on TV, after

He could no longer get out so much. This certainly

Tops that.

«_ fcksavedurl= "" / blog/page/2/ "> «" Previous Entries

Info

Comment Policy

Todo List

Archives

April 2007

March 2007

February 2007

January 2007

Copyright 2007 Elliotte Rusty Harold

Div is no longer needed. Instead of setting the class attribute yourself, you can infer the meaning of each part from the standard element name. This is especially important for audio browsers, mobile browsers, and other non-standard browsers.

This is the end of this article on "what is the structure of HTML5?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

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