HTML Images

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

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)


Got any HTML Question?