What is HTML?

What is HTML?

Html is a standard Hypertext Markup Language. Html is a very easy language to create a web pages.
  • Html stands for Hypertext Markup Language.
  • With the html, we can create the web pages. 
  • In the Html, we create structure of web pages.
  • Html contains the series of elements or tags.
  • Html tells the browser how to display content.
  • In the Html, We write the content step by step using different types of Html tags or elements.
  • Some Html tags used like to write "heading", "paragraph", "table", "image" etc.
  • Html tags are not display in the browser, but the html tags help to display content on the browser.
  • In the Html, some tags come in pairs like <h1> and </h1> and some tags are not come in pairs like <img>.
  • The tags are written in angle brackets.

Here are one simple example of Html

<!DOCTYPE html>
<html>
 <head>
  <title>Page Title</title>
 </head>
 <body>

       <h1>Page Heading</h1>
       <p>Page Paragraph</p>

</body>
</html>

Example Explained

  • The <!DOCTYPE html> tells the browser what type of document used.
  • The <html> is root element of the Html.
  • The <head> contains all links of page and meta tags information.
  • The <title> contain the title of page.
  • The <body> contain all the content we want to show in web page.

Comments

Popular posts from this blog

Why entrance animation not working in Elementor?

Why position relative leaves empty space below the div?

What is difference between GET and POST methods in php?