Fun Trivia | Quizzes | Games | People | Services | Help | Me
Register - Log In
Formatting with CSS

Crafted by Trivia Architect Kwedeth

Fun Trivia : Quizzes : Software and Programming : Formatting with CSS

Introduction:
"CSS is a unique language that works with HTML and other markup languages to format them. This quiz involves general rules about CSS as well as questions about some individual styles. Some basic knowledge of HTML may be required."


1. First off, what does CSS actually stand for? "_______ Style Sheets"
    Answer: (One word: 9 letters)


2. CSS styles can be introduced into your web page in any of three places. Which of the following is not one of them?
    In the head of the document
    In a properly-linked CSS file
    In an HTML comment before the target HTML element
    As a "style" attribute in the target HTML element


3. Comments are done in CSS with what opening and closing symbols?
    !-- to open and --! to close
    ** to open and ** to close
    /* to open and */ to close
    // to open and // to close


4. What keyword is given to a rule to prevent other conflicting rules from overriding it?
    !decisive!
    !final
    !important
    !block-inherit!


5. Which of these is proper CSS syntax?
    font-color:#000088;
    font_color: 000088.
    font color:#blue
    font.color(#000088);


6. How would you go about adding a thin, black border to an element?
    black-border:solid 1px;
    border-style:solid,1px,#000000;
    border:solid 1px #000000;
    element-border:1px black;


7. When elements are positioned absolutely, they can be layered on top of one another. What property determines the stacking order for layered elements?
    layer-number
    z-position
    z-index
    layer-order


8. In newer forms of HTML (XHTML 1.1 for example), the "center" tag is deprecated. What is the CSS equivalent?
    text-align:center;
    center:true;
    page-align:center;
    centering:on;


9. Borders work differently for tables in HTML than in CSS. What is the main difference?
    In HTML, you can not set the width of the border
    You cannot actually create borders with HTML
    You cannot actually create borders with CSS
    HTML borders apply to all cells, CSS only to the outside


10. Which of these CSS properties does not have an HTML equivalent?
    font-family:Arial;
    text-decoration:underline;
    font-weight:bold;
    overflow:scroll;


report error/typo/spelling mistake (new window)
Copyright, FunTrivia.com. All Rights Reserved.
Legal / Conditions of Use