HTML - Elements

In HTML element usually consists of a start tag and end tag, with the content inserted in between the following simple table to display some html element.

Start Tag

End Tag

<html>

</html>

<head>

</head>

<title>

</title>

<body>

</body>

<h1>

</h1>

<p>

</p>


Syntax


<tag_name> Your Content Here </tage_name>
							

HTML Tag

<html> is a starting tag.to delimit the text inside,add a closing tag by adding a "/" to the starting tag.most but not all tag have a closing tag.it is necessary to write the code for an html page between <html> and </html>

HEAD Tag

The HTML document is isolated into HEAD tag.the information about the document is kept within <head> tag.

TITLE Tag

The title element is the only required element of the heading.it is used to give your document name.

BODY Tag

All the content to be displayed on the web page has to be written within the body tag.

H1 Tag

This is first heading tag

P Tag

This is paragraph tag write paragraph uisng this tag.

BR Tag

<br> tag is unpaired tags,if it has not a closing tag.br is used to break the current line.

Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit

You may also like this!