Source Code:
Return the width of the image
Result:
W3Schools.com
- Try it yourself