Friday, 3 February 2017

HTML5 PAGE LAYOUT AND STRUCTURE

HTML5 supports semantics, with the help of semantics we can design updated layouts.



HTML5 Structure

HTML5 has the detailed document structure
<!DOCTYPE html>
<html lang="en-us">
<head>
          <meta charset="UTF-8"/>
          <title>Page Title</title>
</head>
<body>
          <header>.......</header>
          <nav>.............</nav>
          <section>
                   <header>.....</header>
                   <article>
                             <p>......</p>
                   </article>
                   <footer>.....</footer>
          </section>
          <aside>......</aside>
          <footer>......</footer>
</body>
</html>

No comments:

Post a Comment