HTML Introduction
HTML stands for HyperText Markup Language. It is
the standard language used to create and structure
content on the web.
HTML is a markup language, not a programming language,
meaning it annotates text to define how it is structured and
displayed by web browsers.
It forms the building blocks of all websites and is
complemented by CSS for style and JavaScript for
interactivity.
Why Learn HTML?
Here are 5 common reasons to learn HTML:
Build Websites: HTML is the basic building block for creating
any website. Learning HTML can help you pursue a career in web
development.
Customize Content: Allows you to edit or tweak web pages,
emails, or templates to fit your needs.
Understand how the web works: Helps you grasp how the
internet works and how web pages are structured.
Employment Opportunities: According to Bureau of Labor
Statistics projects that employment for web developers will grow
16% between 2022-2032, which is much faster than the average
across all occupations.
Learn Easily: HTML is beginner-friendly, making it a great first
step into the world of coding and technology
Features of HTML
It is easy to learn and easy to use.
It is platform-independent.
Images, videos, and audio can be added to a web
page.
Hypertext can be added to the text.
HTML Element and HTML Tag
An HTML element is the complete structure, including the opening tag, content
(if any), and the closing tag (if applicable).
On the other hand, A tag is the actual keyword or name enclosed in angle
brackets (< >) that tells the browser what kind of content to expect.
HTML History
Advantages of HTML
HTML is used to build websites.
It is supported by all browsers.
It can be integrated with other languages like CSS, JavaScript,
etc.
Disadvantages of HTML
HTML can only create static web pages. For dynamic web pages
and logic, we need JavaScript.
A large amount of code has to be written to create a simple web
page.
HTML Page Structure
The basic structure of an HTML page is shown below. It contains
the essential building-block elements (i.e. doctype declaration,
HTML, head, title, and body elements) upon which all web pages
are created.
<!DOCTYPE html>
<html>
<head>
<title>My First
Webpage</title>
</head>
<body>
<h1>Welcome to My
Webpage</h1>
<p>This is my first paragraph
of text!</p>
</body>
</html>