HTML

What is HTML?
HTML is stands for Hyper Text Markup Language.It used to create webpage.

HTML language are describes by different HTML Tages likes:
<html> and </html>: It described an HTML document.
<head> and </head>: It is used to provide information about the document.
<title> and </title>: It is used to show page title.
<body> and </body>: It is used to show page visible content.
<h1> and </h1> : It show the heading of pages.
<p> and </p>: It is used to describe paragraph.
<a href=”link”> and </a>: It is used to create link.The link’s destination is specified in the href attribute.

Example:

<!DOCTYPE html>
<html>
<head>
<title>Title of page</title>
</head>
<body>
<h1>Heading of content</h1>
<p>paragraph of page.</p>
</body>
</html>


HTML Attributes:

HTML Attributes is used to display additional information of html elements (HTML Tags)

Example:
<a href=”www.google.co.in” >Google</a>
Here,
<a> is the elements and href is the attributes.
href= is used to link the address of specific url.
Example2:
<img src=”image.jpg” width=”150″ height=”150″ >
Here,
<img> is the HTML element. “src” is used to link source of filename, and (width) and (height) is used to describe size of image.