FA26-IMED-1416 | CSS Comments & Color Properties – Document Code and Style Text (Page 69)

Rio Techfox on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerWeb Development14 min

About this video

This lesson shows how to document CSS with /* ... */ comments and use the color and background-color properties to style text and page elements. It uses named colors, hexadecimal values and RGB values in an internal stylesheet, and is aimed at students in an introductory web design course.

What you’ll learn

  • Write CSS comments to document and organize style rules
  • Set text and background colors using named, hex and RGB values
  • Apply color rules to HTML elements and test them in a browser