SlideShare una empresa de Scribd logo
1 de 10
Web Design 2830

       How to use the HTML tag IMG
              By Andy Garcia
Why put images on your webpage?
The Code
<img src="website.jpg " alt="Image name " />
The Code
<img src="website.jpg " alt="Image name " />
Img: Tells the browser that there is an image in the html
document.
The Code
<img src="website.jpg " alt="Image name " />
Img: Tells the browser that there is an image in the html
document.
src: is the source where the image will come from, this is where
you would put the wed address of the image.
The Code
<img src="website.jpg " alt="Image name " />
Img: Tells the browser that there is an image in the html
document.
src: is the source where the image will come from, this is where
you would put the wed address of the image.
alt: Sometimes the person viewing your page may not be able to
view the image, this alternative description gives the viewer a
description of the image.
How do I use this code?
• First lets get the code into a text editor.
How do I use this code?
• Browse the internet and copy the image url.
How do I use this code?
• Paste the url into the first set of quotes in the code.
HTML IMG Tag Guide: How to Add Images to Web Pages

Más contenido relacionado

Similar a HTML IMG Tag Guide: How to Add Images to Web Pages

Html images and html backgrounds
Html images and html backgroundsHtml images and html backgrounds
Html images and html backgroundsnobel mujuji
 
Presentation
PresentationPresentation
PresentationBbhulme1
 
On-Page SEO EXTREME - SEOZone Istanbul 2013
On-Page SEO EXTREME - SEOZone Istanbul 2013On-Page SEO EXTREME - SEOZone Istanbul 2013
On-Page SEO EXTREME - SEOZone Istanbul 2013Bastian Grimm
 
The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013Bastian Grimm
 
Teachingpresentation
TeachingpresentationTeachingpresentation
TeachingpresentationMario Esparza
 
BreizhBeans - Web components
BreizhBeans - Web componentsBreizhBeans - Web components
BreizhBeans - Web componentsHoracio Gonzalez
 
Web forms and html (lect 2)
Web forms and html (lect 2)Web forms and html (lect 2)
Web forms and html (lect 2)Salman Memon
 
Embedding slideshow in wordpress
Embedding slideshow in wordpressEmbedding slideshow in wordpress
Embedding slideshow in wordpressDale Cressman
 
Site Architecture for Advanced SEO: Images
Site Architecture for Advanced SEO: ImagesSite Architecture for Advanced SEO: Images
Site Architecture for Advanced SEO: ImagesBrian Ussery
 
Spooky Good Technical SEO for E-Commerce Sites
Spooky Good Technical SEO for E-Commerce SitesSpooky Good Technical SEO for E-Commerce Sites
Spooky Good Technical SEO for E-Commerce SitesAdam Dince, MBA
 
Social Metadata 2014 Visualizer Tool
Social Metadata 2014 Visualizer ToolSocial Metadata 2014 Visualizer Tool
Social Metadata 2014 Visualizer Toolunfunnel
 
D3LDN17 - Recruiting the Browser
D3LDN17 - Recruiting the BrowserD3LDN17 - Recruiting the Browser
D3LDN17 - Recruiting the BrowserImperva Incapsula
 
Developing and Maintaining a Serach Engine Friendly Website (2011)
Developing and Maintaining a Serach Engine Friendly Website (2011)Developing and Maintaining a Serach Engine Friendly Website (2011)
Developing and Maintaining a Serach Engine Friendly Website (2011)Jacob Ward
 

Similar a HTML IMG Tag Guide: How to Add Images to Web Pages (20)

Html images and html backgrounds
Html images and html backgroundsHtml images and html backgrounds
Html images and html backgrounds
 
Presentation
PresentationPresentation
Presentation
 
Images
ImagesImages
Images
 
On-Page SEO EXTREME - SEOZone Istanbul 2013
On-Page SEO EXTREME - SEOZone Istanbul 2013On-Page SEO EXTREME - SEOZone Istanbul 2013
On-Page SEO EXTREME - SEOZone Istanbul 2013
 
The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013
 
Teachingpresentation
TeachingpresentationTeachingpresentation
Teachingpresentation
 
Shifting Gears
Shifting GearsShifting Gears
Shifting Gears
 
BreizhBeans - Web components
BreizhBeans - Web componentsBreizhBeans - Web components
BreizhBeans - Web components
 
Web forms and html (lect 2)
Web forms and html (lect 2)Web forms and html (lect 2)
Web forms and html (lect 2)
 
Spooky Good Technical SEO for E-Commerce Sites - Adam Dince
Spooky Good Technical SEO for E-Commerce Sites - Adam DinceSpooky Good Technical SEO for E-Commerce Sites - Adam Dince
Spooky Good Technical SEO for E-Commerce Sites - Adam Dince
 
Lesson 4
Lesson 4Lesson 4
Lesson 4
 
Embedding slideshow in wordpress
Embedding slideshow in wordpressEmbedding slideshow in wordpress
Embedding slideshow in wordpress
 
Site Architecture for Advanced SEO: Images
Site Architecture for Advanced SEO: ImagesSite Architecture for Advanced SEO: Images
Site Architecture for Advanced SEO: Images
 
Spooky Good Technical SEO for E-Commerce Sites
Spooky Good Technical SEO for E-Commerce SitesSpooky Good Technical SEO for E-Commerce Sites
Spooky Good Technical SEO for E-Commerce Sites
 
Social Metadata 2014 Visualizer Tool
Social Metadata 2014 Visualizer ToolSocial Metadata 2014 Visualizer Tool
Social Metadata 2014 Visualizer Tool
 
D3LDN17 - Recruiting the Browser
D3LDN17 - Recruiting the BrowserD3LDN17 - Recruiting the Browser
D3LDN17 - Recruiting the Browser
 
Fully Optimized
Fully OptimizedFully Optimized
Fully Optimized
 
TopicHero Descriptions Tutorial
TopicHero Descriptions TutorialTopicHero Descriptions Tutorial
TopicHero Descriptions Tutorial
 
Developing and Maintaining a Serach Engine Friendly Website (2011)
Developing and Maintaining a Serach Engine Friendly Website (2011)Developing and Maintaining a Serach Engine Friendly Website (2011)
Developing and Maintaining a Serach Engine Friendly Website (2011)
 
Bilder usw...
Bilder usw...Bilder usw...
Bilder usw...
 

Último

The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Último (20)

The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

HTML IMG Tag Guide: How to Add Images to Web Pages

  • 1. Web Design 2830 How to use the HTML tag IMG By Andy Garcia
  • 2. Why put images on your webpage?
  • 3. The Code <img src="website.jpg " alt="Image name " />
  • 4. The Code <img src="website.jpg " alt="Image name " /> Img: Tells the browser that there is an image in the html document.
  • 5. The Code <img src="website.jpg " alt="Image name " /> Img: Tells the browser that there is an image in the html document. src: is the source where the image will come from, this is where you would put the wed address of the image.
  • 6. The Code <img src="website.jpg " alt="Image name " /> Img: Tells the browser that there is an image in the html document. src: is the source where the image will come from, this is where you would put the wed address of the image. alt: Sometimes the person viewing your page may not be able to view the image, this alternative description gives the viewer a description of the image.
  • 7. How do I use this code? • First lets get the code into a text editor.
  • 8. How do I use this code? • Browse the internet and copy the image url.
  • 9. How do I use this code? • Paste the url into the first set of quotes in the code.

Notas del editor

  1. Hello Class my name is Andy Garcia and today I will be teaching you how to use the img tag to place images into your web page.
  2. Images have many functions on a web page. They can be used to indicate the website the viewer is on, such as a logo. It can be used to provide a visual to context on the page. Or to just add some to make the page look fun and cool!
  3. .
  4. In order to place an image into your web page, you will need to use this html code. Let’s break down the different tags used in this code to generate an image on your web page.First img.Img: Tells the browser that there is an image in the html document.src: is the source where the image will come from, this is where you would put the wed address of the image.alt: Sometimes the person viewing your page may not be able to view the image, this alternative description gives the viewer a description of the image.The tag can be used alone in a text editor, when you open the code in browser you will see the stand alone image.Notice that the img tag is not close again with the img hash tag, just once with a hash tag.
  5. First lets get out code into the text editor, if you put the code into note pad, you will be able to save it as a index.html and open it as a web page later.
  6. Now lets browse the internet to find an image, I searched for a Korean Girl band called After School.Since I use a PC I right click the image and copy the image url.
  7. Paste the url into the first set of quotes, which will generate the image in the html code. In the second set of quotes put a description of the image. I put After School as the title.Finally Save the code and see what the image looks like on your web page!
  8. And there you have it! The img tag in action! I hope you all learned how to use this tag and how useful it will be for you as you progress in your web design skills. Please ask me for help if you ever need it!