1 of 5

Welcome!

2 of 5

Week 3

Joslenne Peña

Photo Credit: https://cdn-images-1.medium.com/max/600/1*pixFq7k28LKsABpDNRCjJw.png

3 of 5

Recap

  • Tag or Element
  • Attribute
  • File Paths
    • Absolute
    • Relative
    • What else is important?

CSS styles for attributes – ( we go over this next week)

  • class – applies special properties to groups of elements
  • id – specifies a unique id to one element on the page

4 of 5

CSS

CSS Syntax

The selector points to the HTML element you want to style.

The declaration block contains one or more declarations separated by semicolons.

Each declaration includes a CSS property name and a value, separated by a colon.

Multiple CSS declarations are separated with semicolons, and declaration blocks are surrounded by curly braces.

5 of 5

Acknowledgements/Contributions

  • These slides are Copyright 2015- Colleen van Lent as part of http://www.intro-webdesign.com/ and made available under a Creative Commons Attribution-NonCommercial 4.0 License. Please maintain this last slide in all copies of the document to comply with the attribution requirements of the license. If you make a change, feel free to add your name and organization to the list of contributors on this page as you republish the materials.

  • Initial Development: Colleen van Lent , University of Michigan School of Information