1. Introduction


After completing this module, you are expected to:

  • Enhance web pages by incorporating links styles and events using CSS
  • Use appropriate techniques in correcting errors (debugging)
  • Identify and practice the latest updates in CSS

        In the previous module, you have learned that links have different states representing an event done by the user (i.e., hover) or an occurrence in the website (i.e., visited). In this module, you will also learn about CSS Events – events that happen because of user action. But it will not be exclusively for links. This is done by pseudo-classes. These are used to define the state of an HTML element. You will learn how to style a webpage when you hover over a paragraph or click on an image, among some examples.