GoConqr has a new look! Let us know what you think.

Flashcards

CSS

Olivia Thorne Web Computing BSc English 11 cards

Cards in this deck (11)

  1. 1What is the role of CSS within XML?To apply processing rules (semnatics) to XML documents.
  2. 2What is the processing instruction for linking an external CSS document into XML?
  3. 3What are selectors?These point to the tags/attributes to style within the XML.
  4. 4What are declarations?These describe how to style the item and change the visual properties.
  5. 5What is the formatting difference between these two CSS statements? film > genre {color: blue} film date {colour:blue}The first is a child selector, and will only change the colour of the immediate children.
    The last is a descendant selector, and will change the colour of any descendants (e.g. child's child's child).
  6. 6What is the difference between a psuedo element and a psuedo class?Psuedo elements are determinded by structural information.
    Psuedo classes respond to the user's actions.
  7. 7Give an example of a psuedo element.selector::before {}
    selector::after{}
    selector::first-line{}
    etc.
  8. 8Give an exmaple of a psuedo class.a:hover
    a:visited
    a:active
    etc.
  9. 9Describe how to change the colour of all the DVDs in the Horror Genre. Sawdvd[genre = horror] {
    colour : red
    }
  10. 10Using the previous example, write CSS place all DVD elements into a box. What word needs to be changed to avoid a new box?dvd{
    display:block
    }
    'Block' changes to 'inline' to avoid a new box.
  11. 11What are three drawbacks of CSS?No restructuring data (i.e. no ordering).
    No content removal (code security/privacy issues).
    No computation (cannot enumerate data).

Information

Description
BSc Web Computing Flashcards on CSS, created by Olivia Thorne on 06/01/2016.
Created by
Olivia Thorne
Views
2
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?