Module 4:

Website Images

Materials

Assigned Reading Chapter 4 of Web Development and Design Foundations
Slideshow Module 4: Website Images
Lab Joystick Junkies Lab 4
Optional Reading

How Website Folders and Files Work Together

How to Center HTML Elements Horizontally

Lessons, Articles, and Exercises

Some of the material in this Module is covered in the WebDevStudents.com Lessons and Articles listed below. The WebDevStudents.com quizzes have some overlap with the quizzes in D2L.

Lessons

  • Background vs. Embedded Images — Learn the key difference between HTML image tags and CSS background images, and how to choose the right one for any situation.
  • Organizing Your Image Files — Learn best practices for naming, sizing, and organizing image files so your projects stay clean and your image links never break.
  • HTML Embedded Images — Master the img tag and its key attributes (src, alt, width, and height) so you can place images anywhere on your webpage with confidence.
  • CSS Background Images — Learn how to set, size, position, and repeat background images using CSS to create hero sections, textured backgrounds, and more.
  • Building a JavaScript Photo Gallery — Put your HTML, CSS, and a little JavaScript together to build a clickable photo gallery, a great feature for any portfolio or photography site.
  • CSS Borders — Learn how to add borders to any HTML element using CSS, controlling the width, style, and color to create dividers, outlined boxes, and decorative effects.
  • CSS Border Radius — Learn how the border-radius property lets you soften the corners of any element, from subtly rounded buttons to perfect circles.
  • CSS Gradients — Learn how to use CSS gradients to build smooth color transitions for backgrounds and design elements.
  • CSS Box Shadows — Learn how to use the box-shadow property to add depth and dimension to images, cards, and buttons.
  • CSS Text Shadows — Learn how to use the text-shadow property to add shadow effects to headings and text.

Practice Exercises

  • Web Images Quiz — Test your knowledge of image formats, alt text, and how to use images effectively on the web.
  • Borders and Shadows Quiz — Test your knowledge of CSS borders, border-radius, gradients, and shadow effects.