In this lab, you will enhance your pet bakery webpage by adding links and images. This will help you understand how to use attributes in HTML.
All images have been provided for you in the assets/images
folder.
- Link Insertion: Add a hyperlink to the pet bakery's website.
- Image Insertion: Add images for each product using the
<img>
tag. - Alt Attribute Usage: Use the
alt
attribute for each image.
Attention: When you complete a task, put an x
in the middle of the brackets to mark it off your ToDo list.
- Add a link to the pet bakery's website with the text:
Visit our Website
. - From the
images
folder in theassets
directory, add an image for Dog Biscuits with a placeholder URL and thealt
attribute asDog Biscuits
or a better description. Set thehref
attribute to#
which indicates that the link is a placeholder. - Add another image from the
images
folder for Cat Treats with a placeholder URL and thealt
attribute asCat Treats
or a better description. - Add another image from the
images
folder for Bird Seed Bars with a placeholder URL and thealt
attribute asBird Seed Bars
or a better description. - The images are currently a bit too large. Add the
width
attribute and set it to300px
:width="300px"
.
🎊 Fantastic work! You just enhanced your HTML coding skills. 🎊
🛑 Only use this as a reference 🛑
💾 Not something to copy and paste 💾
Note: This lab references a solution file located here (link not shown).