What is HTML..?



HTML is the standard markup language for creating Web pages.

  • HTML stands for Hyper Text Markup Language.
  • HTML describes the structure of Web pages using markup.
  • HTML elements are the building blocks of HTML pages.
  • HTML elements are represented by tags.
  • HTML tags label pieces of content like heading, "paragraph", "table" etc.

Example Explained



  • The <!DOCTYPE html> tag shows the document to be HTML5.
  • The <html> is the root element of an HTML page.
  • The <head> contains meta information about the page.
  • The <title> tag specifies the title for document.
  • The <body> element contains the visible page content.
  • The <h1> element defines a heading.
  • The <p> element defines a paragraph.

Example

Try It Yourself