FA26-IMED-1416 | CSS Class Selectors – Style Multiple HTML Elements (Page 67)

Rio Techfox on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerDesign Engineering5 min

About this video

This Web Design 1 lesson shows how to define a CSS class in an external stylesheet, apply it to HTML elements with the class attribute, and use text-align to centre content. It is aimed at beginners learning basic CSS in Visual Studio Code.

What you’ll learn

  • Apply a CSS class selector to several HTML elements at once
  • Connect an HTML document to an external stylesheet
  • Centre content with text-align and check the result in a browser