Add use of alt text "Line 15" (#26682)
parent
d0131c23f0
commit
f44afe49ac
|
@ -2,7 +2,6 @@
|
|||
title: Images in HTML
|
||||
---
|
||||
|
||||
|
||||
## Introduction
|
||||
|
||||
You can define images by using the `<img>` tag. It does not have a closing tag since it can contain only attributes.
|
||||
|
@ -10,7 +9,7 @@ To insert an image you define the source and an alternative text wich is display
|
|||
|
||||
`src` - This attribute provides the url to image present either on your desktop/laptop or to be included from some other website. Remember the link provided should not be broken otherwise the image will not be produced on your webpage.
|
||||
|
||||
`alt` - This attribute is used to overcome the problem of broken image or incapability of your browser to not being able to produce image on webpage. This attribute as name suggests provide "alternative" to image which is some text describing the image.
|
||||
`alt` - This attribute is used to overcome the problem of broken image or incapability of your browser to not being able to produce image on webpage. This attribute as name suggests provide "alternative" to image which is some text describing the image. It is also used by screen reader applications to read the web page content, which is very helpful for visually impaired users.
|
||||
|
||||
### Example
|
||||
|
||||
|
|
Loading…
Reference in New Issue