Advertisements
Advertisements
Question
The following HTML statement is not written properly. Re-write the correct statement with underlined correction. The desired purpose of statement is mentioned under it.
<img src="img.jpg" text="An Image">
<!-Image source should be img.jpg and its alternate text should be "An Image">Code Writing
Correct and Rewrite
Advertisements
Solution
The correct code is:
<img src="img.jpg” alt="An Image”>shaalaa.com
Is there an error in this question or solution?
2024-2025 (March) Official
