Course Content
Ultimate HTML
Ultimate HTML
Challenge: Images
🏁 Goal
Practice using the absolute path for images in HTML. By the end of this challenge, you will:
- Gain hands-on experience using the absolute path in an HTML document;
- Learn how to provide meaningful
alt
text for images to ensure accessibility and user experience.
📋 Task
- Ensure the
src
attribute of the first image uses the absolute path. You can find the image at:https://codefinity-content-media-v2.s3.eu-west-1.amazonaws.com/courses/c468052d-6d47-4677-b1d1-fb11ace719b1/meadia-%26-tables/adik.png
. - Utilize the absolute path for the
src
attribute of the second image. Access the image here:https://codefinity-content-media-v2.s3.eu-west-1.amazonaws.com/courses/c468052d-6d47-4677-b1d1-fb11ace719b1/meadia-%26-tables/joking.png
. - Specify the appropriate
alt
attribute value for both images. Remember, thealt
value is crucial for providing context in case images fail to load or for users relying on screen readers.
index
index
index
- Use the
img
tag to specify an image. - Use the
src
attribute to specify the image's location. - Use the
alt
attribute to furnish a descriptive text for the image. - You can use the
width
attribute to define the image's width. - You can use the
height
attribute to define the image's height.
index
index
index
Thanks for your feedback!