Articles → HTML 5 → Create Your First HTML5 Program

Create Your First HTML5 Program






Software Requirement




  1. Any text editor like notepad for writing code
  2. Any browser that supports HTML 5

Technical Knowledge





Introduction To HTML5




  1. Provides cross-browser compatibility
  2. Provides audio and video support without installing any plug-in
  3. Provides rich UI
  4. Supports mobile devices

How To Check If Your Browser Supports HTML?




Picture showing the website to check which html5 tags are supported by the browser



Doctype In HTML5




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">




<!DOCTYPE html>



Creating Your First HTML 5 Program


<!DOCTYPE html>
<html>
  <head>
    <title> Sample Title </title>
  </head>
  <body> This is test page </body>
</html>

Try It



Picture showing the output of your first html5 program



Browser Support


Internet ExplorerFirefoxChromeSafariOperaEdge
YesYesYesYesYesYes



Video





Posted By  -  Karan Gupta
 
Posted On  -  Thursday, September 4, 2014
 
Updated On  -  Wednesday, January 2, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250