Explain what is HTML language with an example?
HTML is the HyperText Markup Language.
HTML files are text files featuring semantically tagged elements.
HTML filenames are suffixed along with .htm or .html.
Here's a simple HTML file:
My First HTML DocumentA level one heading
Hello there. This is very important.
Names enclosed in angle brackets such as ,
, and
are called tags. Tags are case insensitive. means the similar thing as as . Therefore, these days lower case tags are preferred, especially if you required to work with XML or XHTML.
Most start-tags are matched with end-tags, and affect the text contained among them. The end-tag is the similar as the opening tag except for a / after the opening angle bracket. For example, , , and
are end-tags. The text in among
and , My First HTML Document in the above example, is the title of the page.
As you can see from the above example elements may, in general, nest. However they may not overlap (though some browsers can handle this).