SlideShare uma empresa Scribd logo
1
HYPERTEXT MARKUP LANGUAGE (HTML)
2
What is HTML?
• HTML stands for Hyper Text Markup Language.
• HTML is the standard markup language for rendering Web pages.
• HTML can consist a series of elements that describes the structure of the Web
Page.
• HTML5 is the most popular version of HTML used worldwide.
3
HTML Statement/Elements Structure
• HTML statement or HTML element generally looks like
<tagname>YOUR OWN CONTENT</tagname>
• e.g. <div>HELLO I AM THE DIV</div>
Here
<div> : is called the start tag
</div> : is called the end tag
4
HTML Empty Elements
• Some HTML elements do not contain/require the end tag. These elements are
called as the Empty Element.
• A few examples are:
1. <br> - used to break a line.
2. <img> - used to display an image on the Web Page
5
HTML5 Boilerplate
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML 5 Boilerplate</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!– Other HTML Elements ->
<script src="index.js"></script>
</body>
</html>
MOST POPULAR/USED HTML TAGS
<a> Defines a hyperlink
<b> Defines bold text
<body> Defines the document's body
<br> Defines a single line break
<button> Defines a clickable button
<div> Defines a section in a document
<footer> Defines a footer for a document or
section
<form> Defines an HTML form for user input
<h1> to <h6> Defines HTML headings
<header> Defines a header for a document or
section
<hr> Defines a thematic change in the content
<html> Defines the root of an HTML document
<img> Defines an image
<input> Defines an input control
<p> Defines a paragraph
<table> Defines a table
QUESTIONS
Q1. Is HTML capable of doing mathematical computation?
Q2. What are the possible contents that can come in header and footer?
Q3. What is HTML Boilerplate?
8
Block-level Element
• The Block-level elements occupy the entire width of the Web Page
(height is automatic as per the content within element, if not
explicitly mentioned).
• These elements are provided some margin by the browsers.
9
Common Block-Level Elements
<div> <li> <section>
<form> <main> <table>
<h1><h6> <nav> <tfoot>
<header> <p> <video>
<hr> <ul> <ol>
10
Inline Element
• An inline element takes up the width on the browser as much its own width only.
• Inline Elements can sit next each other in a single row.
• Inline Elements can also be nested within the Block-level elements
11
Common Inline Elements
<a> <button> <input>
<b> <i> <label>
<br> <img> <select>
<small> <span> <strong>
12
Example of Block-Level
Snippet 1
<div>Third Year</div>
Output :
Third Year
Snippet 2
<div>Final</div>
<div>Year</div>
Output:
Final
Year
13
Example of Inline Element
Snippet 1
<div>This course is for <b>Third Year</b></div>
Output :
This course is for Third Year
Snippet 2
<div>This course is for <b>Third</b> <i>Year</i></div>
Output:
This course is for Third Year
Snippet 3
<p>This course is for <span>Third Year</span></p>
Output:
This course is for Third Year
14
HTML Attributes
• An attribute is a key-value pair written within an element.
• An attribute is used to add more specific details to an element.
• For e.g. You may use a “style” attribute in element to change the
color of text or add a background …. and much more
15
Case Study: The <a> tag
The <a> or anchor tag is used to add a hyperlink.
In this slide we shall see the different attributes associated with <a> tag.
1. href – used to mention the link
e.g. <a href="https://google.com/">CLICK ME</a>
2. target – indicates where to open the linked document.
e.g. <a href="https://google.com/" target="_self">CLICK ME</a>
The web page is opened in same tab
e.g. <a href="https://google.com/" target="_blank">CLICK ME</a>
The web page is opened in a new window or tab
3. style – used to add styles
e.g. <a href="https://google.com/" target="_self" style="color: blue;text-decoration:
none;">CLICK ME</a>
16
Case Study: <img> tag
The <img> or image tag is used to add an image to a Web Page.
In this slide we shall see the different attributes associated with <img> tag.
1. src – used to mention the source of image
e.g. <img src="https://abc.edu/images/slider/home1/1.jpg">
2. alt – alternate if the specified image is not fetched
e.g. <img src="https://abc.edu/images/slider/home1/1.jpg" alt="My College">
3. height and width
e.g. <img src="https://abc.edu/images/slider/home1/1.jpg" alt width="500" height="600">
4. style – used to add styles
e.g. <img src="https://abc.edu/images/slider/home1/1.jpg" alt="My College"
style="width:500px;height:600px;">

Mais conteúdo relacionado

Semelhante a Introduction to HTML.pptx

Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
Diego Scataglini
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction
Diego Scataglini
 
Html
HtmlHtml
html
htmlhtml
html
tumetr1
 
Web 101 intro to html
Web 101  intro to htmlWeb 101  intro to html
Web 101 intro to html
Hawkman Academy
 
Unit2_2024.pptx are related to PHP HTML CSS
Unit2_2024.pptx are related to PHP HTML CSSUnit2_2024.pptx are related to PHP HTML CSS
Unit2_2024.pptx are related to PHP HTML CSS
abhinandankondekar2
 
Html 5
Html 5Html 5
Html
HtmlHtml
Html basic
Html basicHtml basic
Html basic
Viccky Khairnar
 
46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world
hemi46h
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Seble Nigussie
 
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptxDESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
bmit1
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
Stefan Oprea
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
BG Java EE Course
 
3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02
Aditya Varma
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page Layout
Jhaun Paul Enriquez
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
Sun Technlogies
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
Sun Technlogies
 
gdsc-html-ppt.pptx
gdsc-html-ppt.pptxgdsc-html-ppt.pptx
gdsc-html-ppt.pptx
yuvakiran15
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
Dipen Parmar
 

Semelhante a Introduction to HTML.pptx (20)

Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction
 
Html
HtmlHtml
Html
 
html
htmlhtml
html
 
Web 101 intro to html
Web 101  intro to htmlWeb 101  intro to html
Web 101 intro to html
 
Unit2_2024.pptx are related to PHP HTML CSS
Unit2_2024.pptx are related to PHP HTML CSSUnit2_2024.pptx are related to PHP HTML CSS
Unit2_2024.pptx are related to PHP HTML CSS
 
Html 5
Html 5Html 5
Html 5
 
Html
HtmlHtml
Html
 
Html basic
Html basicHtml basic
Html basic
 
46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptxDESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page Layout
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
gdsc-html-ppt.pptx
gdsc-html-ppt.pptxgdsc-html-ppt.pptx
gdsc-html-ppt.pptx
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 

Último

spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
riddhimaagrawal986
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 

Último (20)

spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 

Introduction to HTML.pptx

  • 2. 2 What is HTML? • HTML stands for Hyper Text Markup Language. • HTML is the standard markup language for rendering Web pages. • HTML can consist a series of elements that describes the structure of the Web Page. • HTML5 is the most popular version of HTML used worldwide.
  • 3. 3 HTML Statement/Elements Structure • HTML statement or HTML element generally looks like <tagname>YOUR OWN CONTENT</tagname> • e.g. <div>HELLO I AM THE DIV</div> Here <div> : is called the start tag </div> : is called the end tag
  • 4. 4 HTML Empty Elements • Some HTML elements do not contain/require the end tag. These elements are called as the Empty Element. • A few examples are: 1. <br> - used to break a line. 2. <img> - used to display an image on the Web Page
  • 5. 5 HTML5 Boilerplate <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>HTML 5 Boilerplate</title> <link rel="stylesheet" href="style.css"> </head> <body> <!– Other HTML Elements -> <script src="index.js"></script> </body> </html>
  • 6. MOST POPULAR/USED HTML TAGS <a> Defines a hyperlink <b> Defines bold text <body> Defines the document's body <br> Defines a single line break <button> Defines a clickable button <div> Defines a section in a document <footer> Defines a footer for a document or section <form> Defines an HTML form for user input <h1> to <h6> Defines HTML headings <header> Defines a header for a document or section <hr> Defines a thematic change in the content <html> Defines the root of an HTML document <img> Defines an image <input> Defines an input control <p> Defines a paragraph <table> Defines a table
  • 7. QUESTIONS Q1. Is HTML capable of doing mathematical computation? Q2. What are the possible contents that can come in header and footer? Q3. What is HTML Boilerplate?
  • 8. 8 Block-level Element • The Block-level elements occupy the entire width of the Web Page (height is automatic as per the content within element, if not explicitly mentioned). • These elements are provided some margin by the browsers.
  • 9. 9 Common Block-Level Elements <div> <li> <section> <form> <main> <table> <h1><h6> <nav> <tfoot> <header> <p> <video> <hr> <ul> <ol>
  • 10. 10 Inline Element • An inline element takes up the width on the browser as much its own width only. • Inline Elements can sit next each other in a single row. • Inline Elements can also be nested within the Block-level elements
  • 11. 11 Common Inline Elements <a> <button> <input> <b> <i> <label> <br> <img> <select> <small> <span> <strong>
  • 12. 12 Example of Block-Level Snippet 1 <div>Third Year</div> Output : Third Year Snippet 2 <div>Final</div> <div>Year</div> Output: Final Year
  • 13. 13 Example of Inline Element Snippet 1 <div>This course is for <b>Third Year</b></div> Output : This course is for Third Year Snippet 2 <div>This course is for <b>Third</b> <i>Year</i></div> Output: This course is for Third Year Snippet 3 <p>This course is for <span>Third Year</span></p> Output: This course is for Third Year
  • 14. 14 HTML Attributes • An attribute is a key-value pair written within an element. • An attribute is used to add more specific details to an element. • For e.g. You may use a “style” attribute in element to change the color of text or add a background …. and much more
  • 15. 15 Case Study: The <a> tag The <a> or anchor tag is used to add a hyperlink. In this slide we shall see the different attributes associated with <a> tag. 1. href – used to mention the link e.g. <a href="https://google.com/">CLICK ME</a> 2. target – indicates where to open the linked document. e.g. <a href="https://google.com/" target="_self">CLICK ME</a> The web page is opened in same tab e.g. <a href="https://google.com/" target="_blank">CLICK ME</a> The web page is opened in a new window or tab 3. style – used to add styles e.g. <a href="https://google.com/" target="_self" style="color: blue;text-decoration: none;">CLICK ME</a>
  • 16. 16 Case Study: <img> tag The <img> or image tag is used to add an image to a Web Page. In this slide we shall see the different attributes associated with <img> tag. 1. src – used to mention the source of image e.g. <img src="https://abc.edu/images/slider/home1/1.jpg"> 2. alt – alternate if the specified image is not fetched e.g. <img src="https://abc.edu/images/slider/home1/1.jpg" alt="My College"> 3. height and width e.g. <img src="https://abc.edu/images/slider/home1/1.jpg" alt width="500" height="600"> 4. style – used to add styles e.g. <img src="https://abc.edu/images/slider/home1/1.jpg" alt="My College" style="width:500px;height:600px;">