


What aspects should be paid attention to in the page structure of html5
This time I will bring you what aspects of html5 page structure need to be paid attention to, what are the notes of html5 page structure, the following is a practical case, let's take a look.
Introduction to Semantic Elements
The HTML5 standard adds many new semantic elements. If divided by type, there are page structure, text content, forms, etc.
Here we mainly introduce the new elements in the page structure.
What is a semantic element
Simply speaking, a semantic element is to give a certain meaning to an element (tag), and the name of the element is the meaning that the element wants to express.
For example,
Features
①Easy to maintain: Using semantic elements will have clearer page structure information, making it easier to maintain the page later. No need to look at the code again: find the div and then find the specific ClassName.
②Accessibility: Conducive to reading by screen readers and other assistive tools.
③ Beneficial to search engine optimization: After checking some semantic elements of HTML5, search robots can collect information about their indexed pages.
Original interface layout
In the layout of the page,
In order to facilitate maintenance, designers often assign ClassName (style class name) or ID with a special name to these
For example, a
Page structure semantic elements
Explanation
The semantic elements of page structure are mostly used for the overall layout of the page. Most of them are block-level elements, which are used instead of
It has no special style, so it still needs to be used with Css.
Detailed introduction
Minimum browser version: IE 9, Chrome 5
Instructions for use:
①When used to mark the header of a web page, it can include logo, navigation, and search bar and other information.
②When used to mark the title of the content, use to mark the title.
Minimum browser version: IE not supported, Chrome 35
Minimum browser version: IE 9, Chrome 5
Instructions for use:
①When used as the footer of a web page, it usually contains website copyright, legal restrictions, links, etc. .
②When used as the footer of an article, it usually contains information about the author.
Minimum browser version: IE 9, Chrome 5
Instructions for use:
①A page can contain multiple
②The contact information and authentication information in the
Minimum browser version: IE 9, Chrome 5
Instructions for use:
①Can be used as an independent area in a web page, such as a section in an article.
Minimum browser version: IE 9, Chrome 5
Minimum browser version: IE 9, Chrome 5
Minimum browser version: IE 9, Chrome 8
Minimum browser version: IE 9, Chrome 8
I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!
Related reading:
How to use video and audio tags and progress bars in H5
New interaction between H5 and C3 What are the features
The above is the detailed content of What aspects should be paid attention to in the page structure of html5. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
