SlideShare a Scribd company logo
Introduction to HTML
The Basics of Creating Web Pages
InfiniteWebSolutions 1
I
W
S
Introduction to HTML
• What is HTML?
• Hyper Text Markup Language
• Used for creating web pages
• History of HTML
• Developed by Tim Berners-Lee in 1991
• Evolution from HTML 1.0 to HTML5
InfiniteWebSolutions 2
I
W
S
Basic Structure of an HTML Document
InfiniteWebSolutions 3
Boilerplate code
I
W
S
HTML Tags and Elements
• What are HTML Tags?
• HTML tags are the building blocks of HTML, used to
define elements within a web page.
• Examples: <p>, <h1>, <div>, etc.
• What are HTML Elements?
HTML elements are the combination of a start tag, content,
and an end tag that define parts of a web page.
InfiniteWebSolutions 4
I
W
S
Common HTML Tags
• <html>: Root element of an HTML document.
• <head>: Contains meta-information about the document.
• <title>: Sets the title of the document.
• <body>: Contains the content of the document.
• <h1> to <h6>: Header tags for headings.
• <p>: Defines a paragraph.
• <a>: Defines a hyperlink.
• <img>: Embeds an image.
• <div>: Defines a division or section.
• <span>: Defines a section inline.
InfiniteWebSolutions 5
I
W
S
Meta Tags
Meta tags in HTML are snippets of text that describe a page's
content and are placed inside the <head> section of the HTML
document.
InfiniteWebSolutions 6
I
W
S
HTML Attributes
Attributes:
• provide additional information about HTML elements and are
used within the start tag.
• They modify the behavior, appearance, or function of the
element.
• Attributes come in name-value pairs and help define or
customize elements on a web page.
Example:
<a href="https://www.example.com" target="_blank">Visit
Example.com</a>
href specifies the URL of the link.
target specifies where to open the linked document.
InfiniteWebSolutions 7
I
W
S
href:
• <a href=“#">Hash</a>
• Specifies the URL of the page the
link goes to.
src:
• <img src="image.jpg"
alt="Description of Image">
• Specifies the path to the image
file.
alt:
• <img src="image.jpg"
alt="Description of Image">
• Provides alternative text for the
image if it cannot be displayed.
id:
• <h1 id="main-title">Welcome to
My Website</h1>
• Provides a unique identifier for
the element, useful for CSS and
JavaScript.
style:
• <p style="color: red;">This text is
red.</p>
• Applies inline CSS styles directly to
the element.
class:
• <div class="container">Content
here</div>
• Assigns one or more class names
to an element for styling with CSS.
InfiniteWebSolutions 8
I
W
S
Common Attributes
• Id: Specifies a unique identifier for an element.
• Class: Specifies one or more class names for an element (for
styling with CSS).
• src Specifies the URL of the resource (for elements like
<img> and <script>).
• Href: Specifies the URL of the hyperlink (for <a> elements).
• Alt: Specifies an alternative text for an image (for <img>
elements).
• Style: Specifies inline CSS styles for an element.
• Title: Specifies extra information about an element (often
shown as a tooltip).
• Disabled: Disables an input element or a button.
• Readonly: Specifies that an input field is read-only.
InfiniteWebSolutions 9
I
W
S
Comments
Comments in HTML are used to leave notes or explanations in
the code that are not displayed in the browser.
InfiniteWebSolutions 10
I
W
S
HTML Formatting
HTML formatting involves using tags to define the structure
and style of text content.
Common Tags:
• Bold: <b> or <strong>
• Italic: <i> or <em>
• Underline: <u>
• Strikethrough: <s>
• Paragraph: <p>
• Line Break: <br>
InfiniteWebSolutions 11
I
W
S
HTML Favicon
A favicon is a small icon associated with a website, typically
displayed in the browser's tab or bookmark list.
This line should be placed within the <head> section of your
HTML document.
InfiniteWebSolutions 12
I
W
S
Creating Links and Images
Creating Links (Hyperlinks):
• <a href="https://www.example.com">Visit
Example</a>
• Replace https://www.example.com with the URL you
want to link to, and Visit Example with the text you
want to display as the link.
Embedding Images:
• <img src="image.jpg" alt="Description of image">
• Replace image.jpg with the path to your image file and
provide a brief alt text describing the image for
accessibility purposes.
InfiniteWebSolutions 13
I
W
S
HTML symbols
These are special characters that can be displayed using HTML
entities.
Common HTML Entities:
• Less Than: &lt; (<)
• Greater Than: &gt; (>)
• Ampersand: &amp; (&)
• Non-Breaking Space: &nbsp; ( )
• Copyright: &copy; (©)
• Registered Trademark: &reg; (®)
• Euro: &euro; (€)
InfiniteWebSolutions 14
I
W
S
HTML URL encoding
HTML URL encoding is used to convert characters into a format that
can be transmitted over the Internet.
Common Encodings:
• Space: %20
• Ampersand: %26
• Question Mark: %3F
• Equal Sign: %3D
• Plus Sign: %2B
InfiniteWebSolutions 15
I
W
S
HTML emojies
HTML emojis are special characters that can be displayed directly
using their Unicode values.
Common Emojis:
• Smiling Face: (Unicode: `&#128512;`)
😀
• Thumbs Up: (Unicode: `&#128077;`)
👍
• Heart: (Unicode: `&#10084;`)
❤️
• Star: (Unicode: `&#11088;`)
⭐
• Check Mark: (Unicode: `&#10004;`)
✔️
InfiniteWebSolutions 16
I
W
S
Lists in HTML
InfiniteWebSolutions 17
Unordered List
Ordered List
I
W
S
iframe
An <iframe> in HTML is used to embed another HTML
document within the current one.
InfiniteWebSolutions 18
I
W
S
HTML Tables
• <table> Defines a table.
• <tr> Defines a row within the table.
• <th> Defines a header cell (typically used for column
headers).
• <td> Defines a standard cell within a row.
Example:
InfiniteWebSolutions 19
I
W
S
Dropdown
A dropdown menu allows users to select one option
from a list.
InfiniteWebSolutions 20
I
W
S
Radio Button
Radio buttons allow users to select one option from
a group of choices.
InfiniteWebSolutions 21
I
W
S
Checkbox
Checkboxes allow users to select one or multiple
options from a list.
InfiniteWebSolutions 22
I
W
S
File Upload
A file upload input allows users to browse and select
a file from their device.
InfiniteWebSolutions 23
I
W
S
Forms in HTML
Forms in HTML are used to collect user input and submit it to a
server for processing.
Form Elements:
<form>, <input>, <textarea>, <button>, <select>, <option>
InfiniteWebSolutions 24
I
W
S
HTML Layout
HTML layout involves structuring web pages using various tags to
define sections and positioning.
Common Layout Tags:
• <div>: A generic container for grouping content.
• <header>: Defines the header section.
• <nav>: Defines a navigation section.
• <main>: Main content area.
• <section>: Defines a section within the document.
• <article>: Defines an independent piece of content.
• <aside>: Defines content aside from the main content.
• <footer>: Defines the footer section.
InfiniteWebSolutions 25
I
W
S
InfiniteWebSolutions 26
I
W
S
HTML5 Features
Semantic Elements:
<header>, <footer>,
<section>, <article>, <nav>,
<aside>, <main> provide
clearer structure and
semantics to web pages.
InfiniteWebSolutions 27
I
W
S
Audio and Video:
<audio> and <video> elements allow seamless embedding
of media content with native controls.
InfiniteWebSolutions 28
I
W
S
Project
InfiniteWebSolutions 29
I
W
S
Source Code
InfiniteWebSolutions 30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<link rel="icon" href="assets/images/favico.png"
sizes="32x32" type="image/x-icon">
<title>LogIn - SignUp Page</title>
</head>
<body>
<div class="container" id="container">
<div class="font-container sign-up">
<form>
<h1>Create Account</h1>
<span>or use your email for sign-up</span>
<input type="text" placeholder="Name">
<input type="email" placeholder="Email">
<input type="password" placeholder="Password">
<button>Sign Up</button>
</form>
</div>
I
W
S
<div class="font-container log-in">
<form>
<h1>Log In</h1>
<span>or use your email and password</span>
<input type="email" placeholder="Email">
<input type="password" placeholder="Password">
<a href="#">Forget Password</a>
<button>Log In</button>
</form>
</div>
<div class="toogle-container">
<div class="toggle">
<div class="toggle-panel toggle-left">
<h1>Welcome Back!</h1>
<p>Enter your personal details to use all of
site features</p>
<button class="hidden" id="login">Log
In</button>
InfiniteWebSolutions 31
I
W
S
</div>
<div class="toggle-panel toggle-right">
<h1>Hello, Friend!</h1>
<p>Register with your personal details to use all
of site features</p>
<button class="hidden" id="register">Sign
Up</button>
</div>
</div>
</div>
</div>
<script src="assets/js/script.js"></script>
</body>
</html>
InfiniteWebSolutions 32
I
W
S
Best Practices
• Use Semantic Elements
• Keep Code Clean and Readable Validate HTML
Code
InfiniteWebSolutions 33
I
W
S
Conclusion
• Summary of Key Points
• Encouragement to Practice
InfiniteWebSolutions 34
I
W
S
Q&A
Open the Floor for Questions
InfiniteWebSolutions 35

More Related Content

Similar to Introduction to HTML: The Building Block of the Web by Infinite Web Solutions.pptx (20)

PPTX
Web Development PPT from Chd University.
akshitp2704
 
PPTX
LS2.1_V1_HTML.pptx
LokeshS94
 
PPTX
MTA html5 text_graphics_media
Dhairya Joshi
 
PPTX
Basic html structure
Jhaun Paul Enriquez
 
PPTX
Introduction to html
Himanshu Pathak
 
PDF
HTML PPT.pdf
sunnyGupta325328
 
PPTX
Presentation 1 (1).pptx
HARSHILBHAIRAJESHBHA
 
PPTX
Understanding the Web Page Layout
Jhaun Paul Enriquez
 
PPTX
website-development Hyper Text Markup Language.pptx
jaganchary1
 
PPTX
Choice of programming language for web developing.
Mohammad Kamrul Hasan
 
PDF
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
PPTX
Full Stack_HTML- Hypertext Markup Language
Jeyarajs7
 
PPTX
Html-meeting1-1.pptx
YoussefAbobakr
 
PPTX
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
bmit1
 
PPT
Introduction to HTML, CSS, and Scripting In the world of web development, thr...
SIVASANKARANSIVAKUMA
 
PPT
Html
SBalan Balan
 
PPTX
Lab_Ex1.pptx
sherrilsiddhardh
 
PPTX
Bootcamp - Web Development Session 2
GDSCUniversitasMatan
 
PPTX
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
ZahouAmel1
 
PPTX
Chapter 2 - Introduction to HTML (Basic Structures and Syntax).pptx
marjunegabon07
 
Web Development PPT from Chd University.
akshitp2704
 
LS2.1_V1_HTML.pptx
LokeshS94
 
MTA html5 text_graphics_media
Dhairya Joshi
 
Basic html structure
Jhaun Paul Enriquez
 
Introduction to html
Himanshu Pathak
 
HTML PPT.pdf
sunnyGupta325328
 
Presentation 1 (1).pptx
HARSHILBHAIRAJESHBHA
 
Understanding the Web Page Layout
Jhaun Paul Enriquez
 
website-development Hyper Text Markup Language.pptx
jaganchary1
 
Choice of programming language for web developing.
Mohammad Kamrul Hasan
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
Full Stack_HTML- Hypertext Markup Language
Jeyarajs7
 
Html-meeting1-1.pptx
YoussefAbobakr
 
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
bmit1
 
Introduction to HTML, CSS, and Scripting In the world of web development, thr...
SIVASANKARANSIVAKUMA
 
Lab_Ex1.pptx
sherrilsiddhardh
 
Bootcamp - Web Development Session 2
GDSCUniversitasMatan
 
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
ZahouAmel1
 
Chapter 2 - Introduction to HTML (Basic Structures and Syntax).pptx
marjunegabon07
 

More from Pushkar Sharma (7)

PPTX
Mastering CSS: The Foundation of Web Design by Infinite Web Solutions.pptx
Pushkar Sharma
 
PPTX
Introduction to .NET: The Ultimate Development Framework by Infinite Web Solu...
Pushkar Sharma
 
PPTX
Getting Started with ReactJS: Build Dynamic UIs by Infinite Web Solutions.pptx
Pushkar Sharma
 
PPTX
Introduction to JavaScript: The Language of the Web by Infinite Web Solutions...
Pushkar Sharma
 
PPTX
Design Like a Pro: Getting Started with Figma by Infinite Web Solutions.pptx
Pushkar Sharma
 
PPTX
Introduction to C#: A Modern Programming Language by Infinite Web Solutions.pptx
Pushkar Sharma
 
PPTX
Mastering MySQL: The Heart of Database Management by Infinite Web Solutions.pptx
Pushkar Sharma
 
Mastering CSS: The Foundation of Web Design by Infinite Web Solutions.pptx
Pushkar Sharma
 
Introduction to .NET: The Ultimate Development Framework by Infinite Web Solu...
Pushkar Sharma
 
Getting Started with ReactJS: Build Dynamic UIs by Infinite Web Solutions.pptx
Pushkar Sharma
 
Introduction to JavaScript: The Language of the Web by Infinite Web Solutions...
Pushkar Sharma
 
Design Like a Pro: Getting Started with Figma by Infinite Web Solutions.pptx
Pushkar Sharma
 
Introduction to C#: A Modern Programming Language by Infinite Web Solutions.pptx
Pushkar Sharma
 
Mastering MySQL: The Heart of Database Management by Infinite Web Solutions.pptx
Pushkar Sharma
 
Ad

Recently uploaded (20)

PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
grade 5 lesson ENGLISH 5_Q1_PPT_WEEK3.pptx
SireQuinn
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
grade 5 lesson ENGLISH 5_Q1_PPT_WEEK3.pptx
SireQuinn
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Ad

Introduction to HTML: The Building Block of the Web by Infinite Web Solutions.pptx

  • 1. Introduction to HTML The Basics of Creating Web Pages InfiniteWebSolutions 1
  • 2. I W S Introduction to HTML • What is HTML? • Hyper Text Markup Language • Used for creating web pages • History of HTML • Developed by Tim Berners-Lee in 1991 • Evolution from HTML 1.0 to HTML5 InfiniteWebSolutions 2
  • 3. I W S Basic Structure of an HTML Document InfiniteWebSolutions 3 Boilerplate code
  • 4. I W S HTML Tags and Elements • What are HTML Tags? • HTML tags are the building blocks of HTML, used to define elements within a web page. • Examples: <p>, <h1>, <div>, etc. • What are HTML Elements? HTML elements are the combination of a start tag, content, and an end tag that define parts of a web page. InfiniteWebSolutions 4
  • 5. I W S Common HTML Tags • <html>: Root element of an HTML document. • <head>: Contains meta-information about the document. • <title>: Sets the title of the document. • <body>: Contains the content of the document. • <h1> to <h6>: Header tags for headings. • <p>: Defines a paragraph. • <a>: Defines a hyperlink. • <img>: Embeds an image. • <div>: Defines a division or section. • <span>: Defines a section inline. InfiniteWebSolutions 5
  • 6. I W S Meta Tags Meta tags in HTML are snippets of text that describe a page's content and are placed inside the <head> section of the HTML document. InfiniteWebSolutions 6
  • 7. I W S HTML Attributes Attributes: • provide additional information about HTML elements and are used within the start tag. • They modify the behavior, appearance, or function of the element. • Attributes come in name-value pairs and help define or customize elements on a web page. Example: <a href="https://www.example.com" target="_blank">Visit Example.com</a> href specifies the URL of the link. target specifies where to open the linked document. InfiniteWebSolutions 7
  • 8. I W S href: • <a href=“#">Hash</a> • Specifies the URL of the page the link goes to. src: • <img src="image.jpg" alt="Description of Image"> • Specifies the path to the image file. alt: • <img src="image.jpg" alt="Description of Image"> • Provides alternative text for the image if it cannot be displayed. id: • <h1 id="main-title">Welcome to My Website</h1> • Provides a unique identifier for the element, useful for CSS and JavaScript. style: • <p style="color: red;">This text is red.</p> • Applies inline CSS styles directly to the element. class: • <div class="container">Content here</div> • Assigns one or more class names to an element for styling with CSS. InfiniteWebSolutions 8
  • 9. I W S Common Attributes • Id: Specifies a unique identifier for an element. • Class: Specifies one or more class names for an element (for styling with CSS). • src Specifies the URL of the resource (for elements like <img> and <script>). • Href: Specifies the URL of the hyperlink (for <a> elements). • Alt: Specifies an alternative text for an image (for <img> elements). • Style: Specifies inline CSS styles for an element. • Title: Specifies extra information about an element (often shown as a tooltip). • Disabled: Disables an input element or a button. • Readonly: Specifies that an input field is read-only. InfiniteWebSolutions 9
  • 10. I W S Comments Comments in HTML are used to leave notes or explanations in the code that are not displayed in the browser. InfiniteWebSolutions 10
  • 11. I W S HTML Formatting HTML formatting involves using tags to define the structure and style of text content. Common Tags: • Bold: <b> or <strong> • Italic: <i> or <em> • Underline: <u> • Strikethrough: <s> • Paragraph: <p> • Line Break: <br> InfiniteWebSolutions 11
  • 12. I W S HTML Favicon A favicon is a small icon associated with a website, typically displayed in the browser's tab or bookmark list. This line should be placed within the <head> section of your HTML document. InfiniteWebSolutions 12
  • 13. I W S Creating Links and Images Creating Links (Hyperlinks): • <a href="https://www.example.com">Visit Example</a> • Replace https://www.example.com with the URL you want to link to, and Visit Example with the text you want to display as the link. Embedding Images: • <img src="image.jpg" alt="Description of image"> • Replace image.jpg with the path to your image file and provide a brief alt text describing the image for accessibility purposes. InfiniteWebSolutions 13
  • 14. I W S HTML symbols These are special characters that can be displayed using HTML entities. Common HTML Entities: • Less Than: &lt; (<) • Greater Than: &gt; (>) • Ampersand: &amp; (&) • Non-Breaking Space: &nbsp; ( ) • Copyright: &copy; (©) • Registered Trademark: &reg; (®) • Euro: &euro; (€) InfiniteWebSolutions 14
  • 15. I W S HTML URL encoding HTML URL encoding is used to convert characters into a format that can be transmitted over the Internet. Common Encodings: • Space: %20 • Ampersand: %26 • Question Mark: %3F • Equal Sign: %3D • Plus Sign: %2B InfiniteWebSolutions 15
  • 16. I W S HTML emojies HTML emojis are special characters that can be displayed directly using their Unicode values. Common Emojis: • Smiling Face: (Unicode: `&#128512;`) 😀 • Thumbs Up: (Unicode: `&#128077;`) 👍 • Heart: (Unicode: `&#10084;`) ❤️ • Star: (Unicode: `&#11088;`) ⭐ • Check Mark: (Unicode: `&#10004;`) ✔️ InfiniteWebSolutions 16
  • 17. I W S Lists in HTML InfiniteWebSolutions 17 Unordered List Ordered List
  • 18. I W S iframe An <iframe> in HTML is used to embed another HTML document within the current one. InfiniteWebSolutions 18
  • 19. I W S HTML Tables • <table> Defines a table. • <tr> Defines a row within the table. • <th> Defines a header cell (typically used for column headers). • <td> Defines a standard cell within a row. Example: InfiniteWebSolutions 19
  • 20. I W S Dropdown A dropdown menu allows users to select one option from a list. InfiniteWebSolutions 20
  • 21. I W S Radio Button Radio buttons allow users to select one option from a group of choices. InfiniteWebSolutions 21
  • 22. I W S Checkbox Checkboxes allow users to select one or multiple options from a list. InfiniteWebSolutions 22
  • 23. I W S File Upload A file upload input allows users to browse and select a file from their device. InfiniteWebSolutions 23
  • 24. I W S Forms in HTML Forms in HTML are used to collect user input and submit it to a server for processing. Form Elements: <form>, <input>, <textarea>, <button>, <select>, <option> InfiniteWebSolutions 24
  • 25. I W S HTML Layout HTML layout involves structuring web pages using various tags to define sections and positioning. Common Layout Tags: • <div>: A generic container for grouping content. • <header>: Defines the header section. • <nav>: Defines a navigation section. • <main>: Main content area. • <section>: Defines a section within the document. • <article>: Defines an independent piece of content. • <aside>: Defines content aside from the main content. • <footer>: Defines the footer section. InfiniteWebSolutions 25
  • 27. I W S HTML5 Features Semantic Elements: <header>, <footer>, <section>, <article>, <nav>, <aside>, <main> provide clearer structure and semantics to web pages. InfiniteWebSolutions 27
  • 28. I W S Audio and Video: <audio> and <video> elements allow seamless embedding of media content with native controls. InfiniteWebSolutions 28
  • 30. I W S Source Code InfiniteWebSolutions 30 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial- scale=1.0"> <link rel="icon" href="assets/images/favico.png" sizes="32x32" type="image/x-icon"> <title>LogIn - SignUp Page</title> </head> <body> <div class="container" id="container"> <div class="font-container sign-up"> <form> <h1>Create Account</h1> <span>or use your email for sign-up</span> <input type="text" placeholder="Name"> <input type="email" placeholder="Email"> <input type="password" placeholder="Password"> <button>Sign Up</button> </form> </div>
  • 31. I W S <div class="font-container log-in"> <form> <h1>Log In</h1> <span>or use your email and password</span> <input type="email" placeholder="Email"> <input type="password" placeholder="Password"> <a href="#">Forget Password</a> <button>Log In</button> </form> </div> <div class="toogle-container"> <div class="toggle"> <div class="toggle-panel toggle-left"> <h1>Welcome Back!</h1> <p>Enter your personal details to use all of site features</p> <button class="hidden" id="login">Log In</button> InfiniteWebSolutions 31
  • 32. I W S </div> <div class="toggle-panel toggle-right"> <h1>Hello, Friend!</h1> <p>Register with your personal details to use all of site features</p> <button class="hidden" id="register">Sign Up</button> </div> </div> </div> </div> <script src="assets/js/script.js"></script> </body> </html> InfiniteWebSolutions 32
  • 33. I W S Best Practices • Use Semantic Elements • Keep Code Clean and Readable Validate HTML Code InfiniteWebSolutions 33
  • 34. I W S Conclusion • Summary of Key Points • Encouragement to Practice InfiniteWebSolutions 34
  • 35. I W S Q&A Open the Floor for Questions InfiniteWebSolutions 35