WEB Development: Topic: An Intoduction To HTML
WEB Development: Topic: An Intoduction To HTML
DEVELOPMENT
TOPIC : AN INTODUCTION TO HTML
What is HTML?
• HTML stands for Hypertext Markup Language.
• It is the standard markup language used to create
web pages.
• Web browsers use HTML tags to display
content on the internet.
HTML Definition:
HTML: A markup language that structures the content on
web pages using tags.
COMPONENTS:
• HTML
• HEAD
• TITLE
• BODY
1. DOCTYPE Declaration
<!DOCTYPE html>
2. <html> Tag (Root Element)
<html>
<!-- Content here -->
</html>
Basic HTML 3. <head> Tag (Document Metadata)
Document <head>
<!-- Metadata like title, links to CSS, and
Structure scripts -->
</head>
4. <title> Tag (Page Title)
<title>Page Title</title>
5. <body> Tag (Visible Content)
<body>
<!-- All visible content like headings,
paragraphs, images, etc. -->
</body>
Common HTML Tags
•Example:
<a href="https://google.com">Visit
Google</a> Creating
•href: The URL of the page the link goes Links
to.
INSERTING IMAGES
Adding Images with HTML
EXAMPLE :
•Unordered List
•Ordered List
An ordered list defines a list of items in which
the order of the items are matters. An ordered
list is also called a number list
</ol>
<h1>Example of reverse ordered list</h1>
<ol reversed>
<li>Parth</li>
<li>sujay</li>
</ol>
<h1>Example of ordered list start from 10</h1>
Ordered list
<ol start = "10">
<li>Pushpa</li>
<li>Purvi</li>
</ol>
</body>
</html>
An unordered list defines a list of items in which the
order of the items does not. Or in other words, an
unordered list tag is used to create an unordered list.
It is also known as bulleted list. In an unordered list
each element in the list is defined using <li> tag.
Tags Descriptions
HTML text
<i> Showcases italicized text.
formatting tags
<small> Renders text in a smaller font size.
enhance web content’s
visual presentation and <ins> Highlights added or inserted text.
<head>
<meta charset="UTF-8">
<title>Text Formatting Example</title>
</head>
<body>
<p>
<strong>Strong:</strong>
This text is important and bold.
</p>
<p>
<em>Emphasized:</em>
This text is emphasized and italic.
</p>
<p>
<b>Bold:</b>
This text is bold.
</p>
<p>
<i>Italic:</i>
This text is italic.
</p>
<p>
<mark>Marked:</mark>
This text is highlighted.
</p>
</body>
</html>
Thank you