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> |
<tag_name> Your Content Here </tage_name>
<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>
The HTML document is isolated into HEAD tag.the information about the document is kept within <head> tag.
The title element is the only required element of the heading.it is used to give your document name.
All the content to be displayed on the web page has to be written within the body tag.
This is first heading tag
This is paragraph tag write paragraph uisng this tag.
<br> tag is unpaired tags,if it has not a closing tag.br is used to break the current line.