This Web site provides links to the assignments for the Virtual University course, Introduction to Cascading Style Sheets.
Week 1 introduced the concept of an external CSS, the format of CSS rules, and properties related to font, text, and colour of elements.
The homework assignment required us to write our own external CSS to define styles for two files, template1.html and template2.html.
Week 2 introduced the concepts of embedded style sheets, contextual selectors, and properties related to white space and borders around elements, and properties related to list elements.
For the homework assignment, an embedded style sheet was included in:
Week 3 introduced the concept of inline styles,the SPAN and DIV tags, and CLASS rules.
For the homework assignment:
For the homework assignment, defined external styles and embedded styles in XHTML file to illustrate:
display:block; property and value! important to override rulesFor the homework assignment, created an XHTML file and used embedded and inline style rules to illustrate: