HTML5 Basic Syntax
HTML5 is a next version of HTML. Here, you will get some brand new features which will make HTML much easier. These new introducing features make your website layout clearer to both website designers and users. There are some elements like <header>, <footer>, <nav> and <article> that define the layout of a website.

Let's see a simple example (syntax) of HTML5.
HTML5 Syntax
      <title>HTML5 Syntax</title>
  <h1>Basic Syntax of HTML5</h1>  
  <p>Write Your First Paragraph.</p>  
</html> ​
Output :

Basic Syntax of HTML5

Write Your First Paragraph.

HTML5 Commenly Used Tags
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
HTML5 Syntax : 2
<!DOCTYPE html>
      <meta charset="utf-8">
      <title>HTML5 Sample Syntax</title>
<header><h2>HTML5 SAMPL SYNTAX</h2></header>
      <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>
            <h3>This is Section Tag</h3>
 <aside><h3>This is Aside Tag</h3></aside>
     <figure><img src="images/Free-Time-Learning.png" width="151" height="70"></figure> 
<footer><p>&copy; Copy rights 2017. <a href=""></a></p></footer>
Output :


This is Section Tag

We see you’re using an ad blocker.

Our website is made possible by displaying ads to our visitors.

Please help us continue to provide you with free. So please disabling your ad blocker.