svd- css- cascading style sheet assignment

  1. CSS stands for cascading style sheet
  2. it describes how html elements are to be displayed on screen, paper, or in other media.
  3. it consists of a selector and a declaration block.
  4. The ID uses the id attribute of an HTML element to select a specific element, but the class selector selects HTML elements with a specific class attribute.
  5. the 3 types of style sheets are inline css, internal css and external css
  6.  background-color: lightblue;
  7. a:link- a normal unvisited link, a:visited-a link the user has visited., a:hover- a link when the user mouses over it, a:active- a link the moment it is clicked
  8. margin, border, padding, content
  9. static, relative,fixed,absolute,sticky

Leave a comment

Design a site like this with WordPress.com
Get started