<!DOCTYPE>
<html>
<head>
<title>HTML5 Syntax</title>
</head>
<body>
<h1>Basic Syntax of HTML5</h1>
<p>Write Your First Paragraph.</p>
</body>
</html> ​
Write Your First Paragraph.
Tag | Description |
---|---|
<header> | Specifies a header for a document or section |
<nav> | The <nav> element defines a set of navigation links. |
<section> | The <section> Element defines a section in a document. |
<article> | Specifies independent, self-contained content. |
<aside> | The <aside> element defines some content aside from the content it is placed in (like a sidebar). |
<figure> | Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc. |
<footer> | Defines a footer for a document or section |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 Sample Syntax</title>
</head>
<body>
<header><h2>HTML5 SAMPL SYNTAX</h2></header>
<nav>
<ul type="square">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Gallery</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<article>
<section>
<h3>This is Section Tag</h3>
</section>
</article>
<aside><h3>This is Aside Tag</h3></aside>
<figure><img src="images/Free-Time-Learning.png" width="151" height="70"></figure>
<footer><p>© Copy rights 2017. <a href="http://www.freetimelearning.com">www.freetimelearning.com</a></p></footer>
</body>
</html>