Images

Download html eBook

Syntax

  • <img src="" alt="">

Parameters

ParametersDetails
srcSpecifies the URL of the image
srcsetImages to use in different situations (e.g., high-resolution displays, small monitors, etc)
sizesImage sizes between breakpoints
crossoriginHow the element handles crossorigin requests
usemapName of image map to use
ismapWhether the image is a server-side image map
altAlternative text that should be displayed if for some reason the image could not be displayed
widthSpecifies the width of the image (optional)
heightSpecifies the height of the image (optional)

Related Examples

Stats

301 Contributors: 17
Thursday, February 23, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook