HTML5 Syntax

HTML5 Syntax - HTML5 is a next version of HTML. HTML5 introduces more than 40+ HTML tags such as audio, video, header, footer, data, nav, article etc.

HTML introduces semantic tags such as <header>,<footer> , <nav> and <article> that define the layout of a website. These semantic tags are very helpful for designers and developers.

HTML5 Doctype

HTML5 Doctype is short and easy to remember in comparison to HTML4 and XHTML. Let us see the basic doctype of HTML5.

HTML5 Basic Layout Tags

Followings are the HTML5 layout tags: <header>, <nav>, <section>, <article>, <aside>, <figure>, <footer>

General Syntax

        <!DOCTYPE HTML>      
Try it now

Source Code

            <!DOCTYPE html>
<html lang="en">
    <title>HTML5 Page</title>
    <meta charset="utf-8" />
    <h4>My First HTML5 page.</h4>
Try it now

Web Tutorials

HTML5 Syntax
Html Tutorial HTML
Javascript Tutorial JAVASCRIPT
Css Tutorial CSS
Bootstrap 5 Tutorial BOOTSTRAP 5
Bootstrap 4 Tutorial BOOTSTRAP 4