HTML Introduction

HTML is Hyper Text Markup Language used to create websites. HTML is very easy to unerstand and by using HTML you can create your own website easily.

  • HTML stands for Hyper Text Markup Languge
  • HTML contains series of elements.
  • HTML files conatins extension .html
  • HTML files open in browers.
  • HTML tags have open and closing tags (like ).
  • HTML tags used to display content on browser it doesnot show tags.

Example

 


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

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

 

Example Explained:

 

<!Doctype html>: Defined Document is HTML

<html>: Root Element of HTML Page.

<head>: Contains meta, title element of html Page.

<title>: Specifies title of the html page.

<body>: Contains visible content of html page.

<h1>: Defines heading of page

<p>: Defines paragraph 

 

Tags

HTML tags contains opening and closing tags. 

HTML tags normally in pairrs <h1> and </h1>

HTML tags have opening tag like <h1> and closing tag like </h1>

Web Browers

HTML page can be opened in any browser.

Browsers are used to read HTML files.

You can use any web browser for this purpose

Browsers: Chrome, Firefox, Safari, Opera, etc.

 

Back To Top