Java Games: Flashcards, matching, concentration, and word search.

4.01 Cascading Style Sheets (CSS)

AB
Stylesdefine how to display HTML elements
Inline Stylesuse the style attribute within an HTML tag
Internal Stylesare contained in the head section and style a single web page
External Stylesare saved in an external .css file.
Use Internalwhen a single document has a unique style.
Use Externalideal when the styles should be applied to many pages.
Multiple stylesInline styles have highest priority, then Internal styles, then External styles and then the Web browser default.
Commentsare used to explain your code, and may help you when you edit the source code at a later date.
CSS commentsare different from HTML comments. They are two different languages.
CSS coloris most often specified as either a HEX value (#ff0000), an RGB value (rgb(255,0,0) or a color name (red).



This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities