What is it?
- It stands for HyperText Markup Language
- It is the standard markup language for creating Web pages
- It describes the structure of a Web page
- It consists of a series of elements
- Its elements tell the browser how to display the content
- Its elements label pieces of content such as “this is a heading”, “this is a paragraph”, “this is a link”, etc.
The H and the M in HTML.
“Hypertext” refers to links that connect web pages to one another, either within a single website or between websites. Links are a fundamental aspect of the Web. By uploading content to the Internet and linking it to pages created by other people, you become an active participant in the World Wide Web. It uses “markup” to annotate text, images, and other content for display in a Web browser. Its markup includes special “elements” such as <head>, <title>, <body>, etc.
An element is a special kind of text in a document. It has “tags”, which consist of the element name surrounded by “<” and “>”. The name of an element inside a tag is case insensitive. That is, it can be written in uppercase, lowercase, or a mixture. Tags are like keywords that define that how a web browser will format and display the content. With the help of tags, a web browser can distinguish between HTML content and simple content. Tags contain three main parts: an opening tag, content, and closing tag. But some tags are unclosed.
|Start tag||Element content||End tag|
|<h1>||My First Heading||</h1>|
|<p>||My first paragraph.||</p>|
Notice that the end tag has a forward slash and the starting tag doesn’t
A basic HTML program
Every HTML program has the elements and in this order:
<h1>My First Heading</h1>
<p>My first paragraph.</p>
- Lectures 0
- Quizzes 0
- Duration 10 hours
- Skill level Beginner
- Language English
- Students 5
- Assessments Yes