Register New Player - Log In
Welcome to our world of fun trivia quizzes and quiz games:     New Player quiz register Play Now! trivia game

Formatting with CSS

Created by Kwedeth

Fun Trivia : Quizzes : Software and Programming
Formatting with CSS game quiz
"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."

15 Points Per Correct Answer - No time limit  



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 a properly-linked CSS file
    In an HTML comment before the target HTML element
    As a "style" attribute in the target HTML element
    In the head of the document


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?
    !important
    !block-inherit!
    !final
    !decisive!


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


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


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


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


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


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


Copyright, FunTrivia.com. All Rights Reserved.
Legal / Conditions of Use
Compiled Jun 28 12