Total Page Views :- webs counters

HTML Tags

Every Thing in HTML is written in tags. Mostly commonly used tags are PAIR TAGS. Like HTML,HEAD,BODY, TITLE, ETC.
Pair Tags are written in pairs, means separate opening and closing tag. Both are written same except the closing or end tags include slash(/) or Forward Slash. Some Non Pair tags are also there, like <img >, <meta > <input > <link >, <br >, <hr >

Structure of an HTML Tag

HTML Tags
HTML tags

HTML Tags

The HTML <HTML> Tag is the only Element containing complete HTML Document.
Each HTML Document should have a HTML Opening and HTML Closing Tag.
Two Direct Child of an HTML Element are;

  • Head Tag
  • Body Tag

<!DOCTYPE html>	
<html>	
	<head>			
		<meta charset="utf-8">
		<title> Title of the webpage </title>
	</head>		
<body>		
	// content of webpage
</body>		
</html>				
		


HEAD Tag

HTML Head tag is the first child of HTML Element.
It Contains all information related to webpage, css links, scripts and meta tags.

  • Title Tag
  • Meta Tags
  • Link Tags
  • Script Tags

<!DOCTYPE html>
<head>
	<title> Title of the webpage </title>
		<meta charset="utf-8" >
		<meta name="keywords" content="Keywords of your website" >
		<meta name="description" content="Search Description of your website" >
		<link href="style.css" rel="stylesheet" >
<script >
  script Goes Here
<script/>
</head>
		
		

BODY Tag

HTML Body Tag is used to define the body of our HTML Document
The Body Tag contains all visible contents of a web page like paragraph, headings, tables, lists, images, videos etc.
By Default, body is 100% wide and takes a margin of 8px.


<body> 
	Complete Website Structure will be created inside
 </body>
		
		

HTML TITLE

Title is the first child of HEAD Tag. Title tag is must be unique on every webpage of a website.
It enhance search visibility of a webpage on search engines.
Maximum limits of characters inside title tag is 70.


<title> Title of the webpage </title>