HTML5 basic layout and HTML5 Layout

Source: Internet
Author: User

HTML5 basic layout and HTML5 Layout

 

HTML5 basic layout <ignore_js_op> HTML4
<Ignore_js_op> HTML5


<! DOCTYPE html>
<Htmlang = "en">
<Head>
<Meta charset = "UTF-8">
<Title> HTML5 Demo </title>
<Body>
<Header> <Nav> <ul> <li> </ul> </nav>
<Section>
<Article> </article>
<Article> </article>
</Section>
<Aside> </aside>
<Footer> </footer>
</Body>
</Html>

Http://html5.662p.com/thread-11-1-1.html


Html5 + css3 Layout

Like the previous HTML/CSS, the style layout is defined in CSS after HTML is written into the framework.

How does html5 + css3 implement this layout?

This is implemented using css.
Jqm has a grid, but it is evenly distributed. For example, if you want two divs of 30% + 70%, you cannot write the layout by yourself.
Jqm is evenly distributed between 50%, 50%, 25%, 25%, and 25%. This is the official grid demo.
Demos.jquerymobile.com/1.4.0/grids/
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.