HTML Images
HTML Images
HTML Images are used to enhance websites, to illustrate stories, to present products, in ad displays etc.
HTML provides web developers three ways for displaying images. They are
- <img> - Used to display a simple image.
- <picture> - Used to display different images for different display/device scenarios.
- <map> - Used to display image with clickable areas.
HTML Img
Use <img> to add an image into a document.
Example
HTML Picture
Use <picture> to provide versions of an image for different display/device scenarios.
Note: The <picture>
tag contains zero or more <source> elements and one <img> element.
Example
HTML Map
Use <map> tag to define an image-map. An image-map is an image with clickable areas.
Note: The <map>
tag contains one or more <area> elements.
Example
Reminder
Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in HTML.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.