SlideShare a Scribd company logo
HTML
LESSON
Let's start with the basics of HTML and gradually move to more advanced
topics. HTML (HyperText Markup Language) is the standard language used to
create and design web pages.
TABLE OF CONTENTS
01
Basic
Structure
of a HTML
03
Lists
02
Tags
04
Links,Images,
Tables,Forms
TABLE OF CONTENTS
05
Attributes
07
Multimedia
Tags
06
Semantic
HTML5 Tags
08
Inline vs
Block
Elements
TABLE OF CONTENTS
09
Meta Tags
11
Linking CSS
and JavaScript
10
Comments
12
DOCTYPE
Declaration
TABLE OF CONTENTS
13
Character
Entities
15
Accessibility
14
Responsive
Design
16
Inline CSS and
JavaScript
• HTML stands for Hyper Text Markup
Language
• HTML is the standard markup language
for creating Web pages
• HTML describes the structure of a Web
page
• HTML consists of a series of elements
• HTML elements tell the browser how to
display the content
• HTML elements label pieces of content
such as "this is a heading", "this is a
paragraph", "this is a link", etc.
INTRODUCTION
—Santosh Kalwar
“Coding like poetry should
be short and concise.”
Basic Structure of an HTML
Document
01
Every HTML document should start with a declaration and have a structure like this:
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is a paragraph.</p>
</body>
</html>
Basic Structure of an
HTML Document
Tags
02
Basic Tags
•<html>: Root element of an HTML page.
•<head>: Contains meta-information about the HTML
document.
•<title>: Specifies the title of the document, shown in
the browser's title bar.
•<body>: Contains the contents of the HTML
document, such as text, images, links, etc.
•<h1> to <h6>: Header tags, <h1> is the largest and
<h6> is the smallest.
•<p>: Paragraph tag.
•<br>: Line break.
•<hr>: Horizontal rule (line).
Text Formatting Tags
•<b>: Bold text.
•<i>: Italic text.
•<u>: Underlined text.
•<strong>: Important text (usually bold).
•<em>: Emphasized text (usually italic).
•<mark>: Highlighted text.
•<small>: Smaller text.
•<del>: Strikethrough text.
•<ins>: Inserted text (usually underlined).
Lists
03
Unordered List
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
Ordered List
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
Definition List
<dl>
<dt>Term</dt>
<dd>Definition</dd>
</dl>
Links,Images,Tables,Forms
04
Links
Anchor Tag:
<a href="https://www.example.com">Visit
Example</a>
Images
Image Tag:
<img src="image.jpg" alt="Description of
image">
Tables
Table Structure:
<table>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
</table>
Forms
Form Elements:
<form action="/submit-form" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name"><br><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email"><br><br>
<input type="submit" value="Submit">
</form>
Form Elements:
html
Attributes
05
Links
Common Attributes:
•id: Unique identifier.
•class: Class name for CSS styling.
•style: Inline CSS styles.
•title: Tooltip text.
•alt: Alternative text for images.
Semantic HTML5 Tags
06
Semantic HTML5 Tags
Semantic Tags:
•<header>: Defines a header for a document or section.
•<nav>: Defines navigation links.
•<section>: Defines a section in a document.
•<article>: Defines an independent, self-contained article.
•<aside>: Defines content aside from the main content.
•<footer>: Defines a footer for a document or section.
•<main>: Specifies the main content of a document.
•<figure>: Specifies content that is self-contained, such as images
• with captions.
•<figcaption>: Provides a caption for a <figure> element.
Multimedia Tags
07
Audio
<audio controls>
<source src="audio.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Video
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
Inline vs Block Elements
08
Inline Elements
•Examples: <span>, <a>, <img>, <em>, <strong>.
•Do not start on a new line and only take up as much width
as necessary.
Block Elements
•Examples: <div>, <p>, <h1>, <ul>, <table>.
•Always start on a new line and take up the full width available.
Meta Tags
09
Block Elements
<meta charset="UTF-8">
<meta name="description" content="Free Web
tutorials">
<meta name="keywords" content="HTML, CSS,
JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
•Meta Information:
Comments
10
Comments
<!-- This is a comment -->
Adding Comments:
Linking CSS and JavaScript
11
Linking CSS
<link rel="stylesheet" type="text/css" href="styles.css">
CSS:
Linking Java Script
<script src="script.js"></script>
JavaScript:
DOCTYPE Declaration
12
Specifying the Document
Type
<!DOCTYPE html>
Character Entities
13
Using Character Entities
&lt; for <
&gt; for >
&amp; for &
&quot; for "
&apos; for '
Responsive Design
14
Meta Tag for Responsive
Design
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
Accessibility
15
Alt Text for Images
<img src="image.jpg" alt="Description of image">
ARIA Attributes
<button aria-label="Close">X</button>
Inline CSS and JavaScript
16
Inline CSS
<p style="color:blue;">This is a blue paragraph.</p>
Inline JavaScript
<button onclick="alert('Hello World!')">Click
Me</button>
These topics cover most of the useful
tags,attribtes and concepts in HTML.
Feel free to ask for more detailed
explanation or examples on any
specific topic.
Email = umarkhan99887766ui@gmail.com
Conclusion

More Related Content

PPTX
Introduction to HTML- Week 3- HTMLSyntax
MohammadRafsunIslam
 
PPTX
HTML
Toni Kolev
 
PPT
Web forms and html (lect 1)
Salman Memon
 
PPTX
Grade 10 COMPUTER
Joel Linquico
 
PPTX
HTML_HEADER PART TAGS .pptx
HARIPRIYAV25
 
PDF
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
rehansayyadgolden07
 
PPTX
Web technologies-course 02.pptx
Stefan Oprea
 
PPTX
Web design - HTML (Hypertext Markup Language) introduction
Mustafa Kamel Mohammadi
 
Introduction to HTML- Week 3- HTMLSyntax
MohammadRafsunIslam
 
Web forms and html (lect 1)
Salman Memon
 
Grade 10 COMPUTER
Joel Linquico
 
HTML_HEADER PART TAGS .pptx
HARIPRIYAV25
 
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
rehansayyadgolden07
 
Web technologies-course 02.pptx
Stefan Oprea
 
Web design - HTML (Hypertext Markup Language) introduction
Mustafa Kamel Mohammadi
 

Similar to Mastering HTML: The Building Blocks of the Web (20)

PPTX
Introduction to Hypertext markup language
katariraju12
 
PPTX
Unit_II.pptx thtrhththtrhjjuyujymkfhtyhkmythkymkykymnkmyjnmyjmnykn
PriyanshuGarg59
 
PPTX
INTRODUTION TO HTML.pptx
HarshaJumde1
 
PPTX
Introduction-to-HTML-1258164251864545.pptx
MeetRajani2
 
PPTX
HTML - LinkedIn
Gino Louie Peña, ITIL®,MOS®
 
PPTX
T430-01-Introduction to HTML.pptx
awadalsabbah
 
PDF
WEB PROGRAMMING bharathiar university bca unitII
VinodhiniRavi2
 
PPTX
Web topic 2 html
CK Yang
 
PPTX
BSC notes of _HTML_Easyto understand lease see.pptx
VikasTuwar1
 
PPTX
Gail Borden Library | HTML/CSS Program
Megan G. Johnson
 
PDF
Web Engineering, Web design, development-2
zabulsfp
 
PPTX
HTML/HTML5
People Strategists
 
PPTX
web programming, Introduction to html tags
E.M.G.yadava womens college
 
KEY
Class1slides
Alexis Goldstein
 
PDF
Day1-HTML-CSS some basic css and html.pdf
enasashri12
 
PPTX
HTML.pptx
Akhilapatil4
 
PPTX
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
 
PPSX
HTML Comprehensive Overview
Mohamed Loey
 
PPTX
Introduction to HTML.pptx
malrad1
 
Introduction to Hypertext markup language
katariraju12
 
Unit_II.pptx thtrhththtrhjjuyujymkfhtyhkmythkymkykymnkmyjnmyjmnykn
PriyanshuGarg59
 
INTRODUTION TO HTML.pptx
HarshaJumde1
 
Introduction-to-HTML-1258164251864545.pptx
MeetRajani2
 
T430-01-Introduction to HTML.pptx
awadalsabbah
 
WEB PROGRAMMING bharathiar university bca unitII
VinodhiniRavi2
 
Web topic 2 html
CK Yang
 
BSC notes of _HTML_Easyto understand lease see.pptx
VikasTuwar1
 
Gail Borden Library | HTML/CSS Program
Megan G. Johnson
 
Web Engineering, Web design, development-2
zabulsfp
 
HTML/HTML5
People Strategists
 
web programming, Introduction to html tags
E.M.G.yadava womens college
 
Class1slides
Alexis Goldstein
 
Day1-HTML-CSS some basic css and html.pdf
enasashri12
 
HTML.pptx
Akhilapatil4
 
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
 
HTML Comprehensive Overview
Mohamed Loey
 
Introduction to HTML.pptx
malrad1
 
Ad

Recently uploaded (20)

PDF
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
PDF
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
georgschmitzdoerner
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
DevOps & Developer Experience Summer BBQ
AUGNYC
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
AbdullahSani29
 
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
madgavkar20181017ppt McKinsey Presentation.pdf
georgschmitzdoerner
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
DevOps & Developer Experience Summer BBQ
AUGNYC
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
This slide provides an overview Technology
mineshkharadi333
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
AbdullahSani29
 
Ad

Mastering HTML: The Building Blocks of the Web