HTML

HTML stands for Hyper Text Markup Language, is a simple language used to design the webpages that appear on the World Wide Web. An HTML document is also known as web page and is identified by a unique address called the uniform resource locator or URL.
HTML is not a programming language, it is a markup language. A markup language is a set of markup tags and HTML uses markup tags to describe webpages.

HTML Tags

HTML markup tags are usually called as HTML tags.
HTML tags are keywords surrounded by angular brackets like <html>.
HTML tags usually come in pairs like <html> and </html>.
The first tag in the pair is the start tag and the second tag is the end tag.
Start and end tags are also called opening tags and closing tags.
HTML is not case-sensitive, we can use either <HTML> or <html>.


The structure of an HTML Document

<html>
<head>
<title> The title of the document </title>
</head>
<body>
    document part of body
</body>
</html>

How to write HTML program

  1. Open notepad
  2. Write HTML program in the notepad
  3. Save it with the extension name as .html or .htm
  4. Execute it from the browser

 Example





No comments:

Post a Comment