What is the purpose of the "alt" attribute in an HTML image tag?
- Alignment
- Alternative text
- Animation
- Attributes
The purpose of the "alt" attribute in an HTML image tag is to provide alternative text for an image. This text is displayed in place of the image if the image file cannot be loaded or if the user is using a screen reader. It is important for accessibility and SEO purposes.
Loading...
Related Quiz
- You're tasked with designing a database schema for an e-commerce platform. How would you structure the tables to efficiently store information about customers, orders, and products?
- Which encryption protocol is considered more secure for protecting wireless network traffic: WEP or WPA2?
- How can you ensure data integrity in a relational database using SQL constraints?
- You're developing a real-time chat application using Node.js. How would you implement WebSocket communication for instant messaging?
- Which scheduling algorithm ensures fairness among processes in terms of CPU allocation?