<html>
-tells the browser that this is an HTML document
-container for all other HTML elements (except for the <!DOCTYPE> tag)
<head>
- include a title for the document, scripts, styles, meta information, and more
<title>
-defines a title in the browser toolbar
-provides a title for the page when it is added to favorites
-displays a title for the page in search-engine results
<body>
-defines the document's body
-contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc
<h1>
-defines the most important heading
<p>
-defines a paragraph
<br>
-inserts a single line break
-an empty tag which means that it has no end tag
2. Explain about the two types of HTML Tags?
There are two types of html tags:
-Paired tags
-Singular tags
Paired tags
A paired tags consist of two tags,first one is called an opening tag and the second one is called a closing tag.These tags contains the text in between at which the effect of that tag will be applied.
It is also called container tag.A tag is said to a paired tag if it along with a companion tag or closing tag appears at the end.For example, the tag is paired tag.The tag with its closing tag is used to rendered in Bold Text.
Example: <b>ABC</b>
Here <b> is the opening tag, </b> is the closing tag and ABC the text in between which will result as ABC on the browser screen.
Here <b> is the opening tag, </b> is the closing tag and ABC the text in between which will result as ABC on the browser screen.
More Examples:
- <i> </i>
- <div> </div>
- <ul> </ul>
- <h1> </h1> , etc.
The second type of tag is the singular tag,which is also known as stand-alone tag or empty tag.The stand-alone tag does not have companion tag or closing tag.
For example:
<br> - Insert a link break
<hr> - Define a horizontal rule
<!--> - Define a comment
3. Give some examples of HTML tags on both types of HTML tags.
Paired tags
1.<p>He named his car<i>The lightning</i>,because it was very fast.</p>
2. <ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
3. <h1>This is heading 1</h1>
Singular Tags
1. This text contains<br>a line break.
2. <!--This is a comment.Comments are not displayed in the browser-->
3. <h1>HTML</h1>
<p>HTML is a language for describing web pages....</p>
<hr>
<h1>CSS</h1>
<p>CSS defines how to display HTML elements.....</p>

