Introduction

HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee, Robert Cailliau, and others starting in 1989. One can't deny the fact that, almost every web page over internet is using HTML.

  • HTML is the foundation for all web pages.
  • Describes structure of a web page.
  • You can create your own website using HTML
  • HTML is one of the most widely used languages for web development.
  • HTML elements tell the browsers how to display the data
  • More dynamic in nature hence provides more interaction with users
  • Easy to learn

Sample program

<!-- Sample program -->
<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
      <h1>Hello World! </h1>
      <p> Good Morning!! </p>
  </body>
</html>
  • <!DOCTYPE html>> : Specifies document type, here it is an HTML5 document
  • <html> : root element of an HTML page
  • <head> : Contains meta information about the HTML page
  • <title> : Specifies a title for the HTML page to display
  • <body> : body of the html document which contains headings, paragraphs, images, hyperlinks, tables, lists, etc.
  • <h1> : defines Large heading
  • <p> : defines Paragraph
  • </body> : represents end of body
  • </html> : represents end of html
  • <!-- comment --> : comments

There are multiple options where you can write HTML code, Here is our online HTML editor where you can practice and keep the track of your programs in your account.