avatar

Hassan khan

Last updated: August 22,2022

What is HTML

What is HTML?


  • HTML full form is Hyper Text Markup Language.
  • HTML was created in late 1991 by Berners-Lee.
  • HTML is the core language for making web pages.
  • HTML creates the baisc structure of web pages.
  • There is a series of elements in HTML.
  • Each Element of Html can be a heading, a paragraph, an image, a table, etc.

Basic document of html

1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
  <html lang="en">
    <head>
      <title>Document</title>
    </head>
    <body>
        <h1>Hello world</h1>
    </body>
  </html>

Explanation

  • The "!DOCTYPE html" this means document is an HTML5 document.
  • The "HTML" tag is the root element of an HTML page that contains all other tags of the document.
  • The "head" tag includes meta information like CSS link, description, etc about the HTML page.
  • The "title" tag defines the title of the page. you can see this at top of the tab in the browser.
  • The "body" tag holds all the data which are visible on the page. Such as headings, paragraphs, images, links, lists, tables, etc.
  • The "h1" element represents a large heading. There are also other types of headings like h2, h3, h4, etc.

Share