html HTML5:HTML5基础知识

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html HTML5:HTML5基础知识相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>
<html lang="pl">
<head>
  <title>XHTML Doctype</title>
  <meta charset="utf-8">
</head>

<body>
  
  <div class="container">
    <header>
      <h1>My Awesome  Website</h1>
      <nav>
        <ul>
          <li><a href="#">Home</a></li>
          <li><a href="#">About</a></li>
          <li><a href="#">Portoflio</a></li>
          <li><a href="#">Contact</a></li>
        </ul>
      </nav>
    </header>
    
    <div role="main">
      <aside>
        <h3>Sponsors</h3>
        <ul>
          <li>Sponsor</li>
          <li>Sponsor</li>
          <li>Sponsor</li>
          <li>Sponsor</li>
        </ul>
      </aside>
      
      <article>
        <header>
          <h1><a href="#">What I Did Today</a></h1>
          <ul class="meta">
            <li><strong>Posted: </strong>Yesterday</li>
            <li><strong>Category: </strong>Personal</li>
            <li><strong>Tags: </strong>Me, Myselft, I</li>
          </ul>
        </header>
        <p>
          Lorem ipsum dolor sit amet.
        </p>
      </article>
      
      <h2>Excerpt from My Book</h2>
      <section>
        <h1 class="h1">Chapter 1</h1>
        <p>bla bla bla</p>
      </section>
      
      <section>
        <h1>Chapter 2</h1>
        <p>bla bla bla</p>
      </section>
      
      <section>
        <h1>Chapter 3</h1>
        <p>bla bla bla</p>
      </section>
      
      <figure>
        <img src="image.png">
        <img src="image.png">
        <img src="image.png">
        <figcaption>Image description / caption</figcaption>  
      </figure>
    </div>
    
    <footer>
      <p>Fake Copyright 2013</p>
    </footer>
  </div>
</body>
</html>

以上是关于html HTML5:HTML5基础知识的主要内容,如果未能解决你的问题,请参考以下文章

HTML5基础入门教程

HTML5开发精讲高清视频教程免费下载

HTML5基础知识点笔记

html5 css3 知识 案例

HTML5基础

小白该知道的HTML5基础知识