Home  >  Article  >  Web Front-end  >  A brief analysis of HTML5 page layout for mobile devices _html5 tutorial skills

A brief analysis of HTML5 page layout for mobile devices _html5 tutorial skills

WBOY
WBOYOriginal
2016-05-16 15:46:111320browse

We combine the characteristics of mobile devices (mobile phones and tablets) to introduce the new semantic tag elements in HTML5, as well as the knowledge and examples of Web page layout under mobile Web browsers.
Among the new elements added by the HTML5 standard, those used for common page structures include header footer footer nav aside article section hgroup.
The following is a brief introduction to this element:
1.header
header> element defines the page combination of the document, usually some guidance and navigation information, and the tag usually contains section-on Header information, such as h1~h6 or hgroup, etc.

Copy code
The code is as follows:


 h1>HTML5 layout learning
 

Study hard



is consistent with the following code:

Copy the code
The code is as follows:


 

HTML5 layout learning


 

Study hard



2.footer

element defines the end of the document or chapter and contains some basic information about the chapter, such as author information, related links and copyright information. You can use multiple headers and footers on a page, and you can also insert some other elements, such as div ul, etc. < p>Privacy information


 

About us


3.nav
 
      
  • Privacy Information

  • ;
       
  • Contact us

  •   

 
4.aside

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What are the new features of HTML5_html5 tutorial skillsNext article:What are the new features of HTML5_html5 tutorial skills

Related articles

See more