CSS2 - a:active color during the clicking of the link Order...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
ANNOUNCEMENTS No posting of code in the forum Make sure you complete the terpconnect part during the weekend. Some students need help from OIT (if you wait until the last minute you may not get that help). We update slides/example often. Always get the lecture material from the web site Remember to use Chrome for the project Check class announcements daily 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
KINDS OF SELECTORS 2 Type Selectors Those based on the name of an HTML tag (e.g., p, table, etc.) p { color: red; } Pseudo-classes attached to selectors to specify a state. Four popular pseudo-classes are: a:link initial color of a link a:visited color for a visited link a:hover color when mouse hover over link
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a:active color during the clicking of the link Order is important ( L o V e HA te) Example: Selectors.html, Selectors.css KINDS OF SELECTORS 3 Class Selectors Allow us to apply the same rules to many elements Use when you need to apply a style many times in your document Created with a period (also known as full stop) Example: Selectors.html, Selectors.css ID Selectors Similar to class selectors but appear only once in the document Used when you need to apply a style only once in your document Created using # Example: Selectors.html, Selectors.css Others Descendant, child, attribute, universal selectors IN-CLASS LAB (LAST 20 MINUTES) 4...
View Full Document

This note was uploaded on 01/12/2012 for the course CMSC 122 taught by Professor Staff during the Fall '08 term at Maryland.

Page1 / 4

CSS2 - a:active color during the clicking of the link Order...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online