Difference between revisions of "Img Element"

From Level Access Web Labs
Jump to navigation Jump to search
(Image with title)
Line 18: Line 18:
 
<html>
 
<html>
 
<img src="office.jpg" title="Office"/>
 
<img src="office.jpg" title="Office"/>
 +
</html>
 +
 +
==Image without title==
 +
<html>
 +
<img src="office.jpg"/>
 
</html>
 
</html>
  

Revision as of 04:10, 22 September 2017

Image missing alt

Image with alt

The image below of an office building has an alt attribute set. Office

Decorative Image with null alt

Image with title

Image without title

Images with aria-label

Images with aria-labelledby

Office building

Image with role of presentation

Image with state of aria-hidden true