HTML Image Width And Height Attributes With Alt Code For Website - Learn About Website | DaddyFile

0

The alt Attribute Explain

The alt attribute specifies an alternative text to be used, when an HTML element cannot be displayed.
The value of the attribute can be read by "screen readers". This way, someone "listening" to the webpage, i.e. a blind person, can "hear" the element.



Html Code:

<!DOCTYPE html>
<html>
<body>

<img src="Daddyfile.jpg" alt="Daddyfile.com" width="200" height="112">

</body>
</html>



Html Code Result:

Daddyfile.com

Post a Comment

 
Top