Which attribute is essential to specify the source of an image?
- href
- link
- source
- src
The src attribute is crucial for defining the source of an image in the
tag. Its value is the URL of the image you want to display. The href attribute is used with anchor tags, , for links, while source and link aren't standard attributes to specify an image source.
Imagine you are developing a website that needs to be optimized for search engines. How would you utilize the head section, especially the meta tags, to enhance SEO?
- Adding a