
Consider the above example.
The whole example is the HTML DOCUMENT.
In the above HTML document we have so many HTML elements.
For example <title> My first html page </title> is a HTML element.
Again this HTML element is made up of HTML tags.
<title> </title> is the HTML tag in which <title> is the start tag and </title> is the end tag. And My first html page is the element content.
So the element content and the HTML tags together constitute the HTML element.
These HTML tags are not case-sensitive. If your start tag is in lowercase like <title> and end tag is in uppercase like </TITLE>, it will not make any difference. But it is always good to use lowercase letters because the latest web standards advise lowercase tags.
No comments:
Post a Comment