What is HTML?

HTML stands for Hyper Text Markup Language.

  • In HTML We describe web pages (web document) by markup language.
  • Documents of HTML is described by HTML tags.
  • HTML  is not a programming language it is a markup language so, it is a set of markup tags.
  • We only can create static HTML web pages .
  • HTML is a technology to design web pages.

For Example:

<!DOCTYPE html>
<html>
<head>
<title>First Example</title>
</head>

<body>
<h1> Heading of the paragraph </h1>

<p> Paragraph of the topic </p>

</body>
</html>

Output:-

Heading of the paragraph

Paragraph of the topic



Now explanation of example::

  • DOCTYPE (document type)defines the type and version of  HTML.
  • Text between <html> and </html> defines HTML document.
  • Text between <head> and </head> defines the information of the document and it will not be visible on the web page it contain meta data.
  • Text between <title> and </title>provide the title for the document and it show on the web page.
  • Text between <body> and </body> show the page content.
  • Text between <h1> and </h1> describes the heading .
  • Text between <p> and </p> describes the paragraph .





Post a Comment

Previous Post Next Post