HTML is a language for describing web pages. HTML is an abbreviation of Hyper Text Mark-up Language. HTML is the “mother tongue” of your browser. HTML was invented in 1990 by a scientist called Tim Berners-Lee. HTML is a markup language. A markup language is a set of markup tags. The tags describe document content. HTML documents contain HTML tags and plain text. HTML documents are also called web pages. HTML markup tags are usually called HTML tags. HTML tags are keywords (tag names) surrounded by angle brackets like
<html>. HTML tags normally come in pairs like
</b>. The first tag in a pair is the start tag; the second tag is the end tag. The end tag is written like the start tag, with a forward slash before the tag name. Start and end tags are also called opening tags and closing tags.
<html> <body> <h1>My Heading</h1> <p>My Paragraph</p> </body> </html>
Here is the result of this code:
The text between
</html> describes the web page. The text between
</body> is the visible page content. The text between
</h1> is displayed as a heading. The text between
</p> is displayed as a paragraph.