Skip to main content
added 1 character in body
Source Link
Malachi
  • 29.1k
  • 11
  • 87
  • 188

You should always have an Alt attribute in your img tags

<img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43">
<img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43" 
       alt="Toy Airplane - Based on public domain image 
      http://pixabay.com/en/aeroplane-aircraft-airplane-flight-161999/" >

new lines added for less scrolling and not necessary

Alt attribute can be anything but should describe the image, it's used for many different things including screen readers for visually impaired users.

You should always have an Alt attribute in your img tags

<img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43">
<img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43" 
       alt="Toy Airplane - Based on public domain image 
      http://pixabay.com/en/aeroplane-aircraft-airplane-flight-161999/ >

new lines added for less scrolling and not necessary

Alt attribute can be anything but should describe the image, it's used for many different things including screen readers for visually impaired users.

You should always have an Alt attribute in your img tags

<img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43">
<img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43" 
       alt="Toy Airplane - Based on public domain image 
      http://pixabay.com/en/aeroplane-aircraft-airplane-flight-161999/" >

new lines added for less scrolling and not necessary

Alt attribute can be anything but should describe the image, it's used for many different things including screen readers for visually impaired users.

Source Link
Malachi
  • 29.1k
  • 11
  • 87
  • 188

You should always have an Alt attribute in your img tags

<img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43">
<img src="https://i.sstatic.net/bGZ1m.png" width="80" height="43" 
       alt="Toy Airplane - Based on public domain image 
      http://pixabay.com/en/aeroplane-aircraft-airplane-flight-161999/ >

new lines added for less scrolling and not necessary

Alt attribute can be anything but should describe the image, it's used for many different things including screen readers for visually impaired users.