/HTML5

The complete HTML5 tutorial

HTML5

The complete HTML5 tutorial.

What is HTML5?

  • HTML stands for Hyper Text Markup Language
  • 5 represents the version of HTML
  • It's used for creating Web pages
  • Also it describes the structure of Web page

A simple HTML Document

<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>
  
  <body>
    <h1>My First Heading</h1>
    <p>My first paragraph.</p>
  </body>
  
</html>
  • <!DOCTYPE html> It defines this is an HTML5 document.
  • <html> It is the root element of an HTML page.
  • <head> It contains all the meta informations.
  • <title> It specifies the titile of HTML page.
  • <body> All the contents decribing in it.
  • <h1> Which represents the Heading(Largest heading in size).
  • <p> Which represents the paragraph.