Share/Like This Page

Sites for Teachers

CSS Questions - All Grades

Create printable tests and worksheets from CSS questions. Select questions to add to a test using the checkbox above each question. Remember to click the add selected questions to a test button before moving to another page.

The CSS questions below are in the following grade levels: Continuing Education
1 2 next page
Continuing Education :: CSS by yasserhy
What is NOT accepted as color code?
  1. #6495ed
  2. #FFF
  3. #FFFFFFA
Continuing Education :: CSS by yasserhy
Which HTML attribute is used to define inline styles?
  1. style
  2. class
  3. styles
  4. font
Continuing Education :: CSS by yasserhy
How do you make the text bold?
  1. style:bold
  2. font-weight:bold
  3. font:b
Continuing Education :: CSS by yasserhy
How do you define a style for an element with a specific ID?
  1. .IDName
  2. #IDName
  3. Element.IDName
Continuing Education :: CSS by yasserhy
Which HTML tag is used to define an internal style sheet?
  1. <css>
  2. <script>
  3. <style>
Continuing Education :: CSS by yasserhy
How do you change the font of an element?
  1. font-family:
  2. f:
  3. font=
Continuing Education :: CSS by yasserhy
How do you make a list that lists its items with squares?
  1. type: 2
  2. list-style-type: square
  3. type: square
  4. list-type: square
Continuing Education :: CSS by yasserhy
Where in an HTML document is the correct place to refer to an external style sheet?
  1. In the <body> section
  2. At the end of the document
  3. At the top of the document
  4. In the <head> section
Continuing Education :: CSS by yasserhy
What is the correct HTML for referring to an external style sheet?
  1. <stylesheet>mystyle.css</stylesheet />
  2. <style src="mystyle.css" />
  3. <link rel="stylesheet" type="text/css" href="mystyle.css">
Continuing Education :: CSS by yasserhy
How do you change the left margin of an element?
  1. margin:
  2. text-indent:
  3. indent:
  4. margin-left:
Continuing Education :: CSS by yasserhy
What does CSS stand for?
  1. Cascading Style Sheets
  2. Colorful Style Sheets
  3. Computer Style Sheets
  4. Creative Style Sheets
Continuing Education :: CSS by yasserhy
How do you make each word in a text start with a capital letter?
  1. text-transform:capitalize
  2. You can't do that with CSS
  3. text-transform:uppercase
Continuing Education :: CSS by yasserhy
How do you display hyperlinks without an underline?
  1. a {text-decoration:none}
  2. a {text-decoration:no underline}
  3. a {decoration:no underline}
  4. a {underline:none}
Continuing Education :: CSS by yasserhy
How to allow an element to override a style that was defined in a CSS file?
  1. Use the "style" attribute of that element
  2. Use class="none"
  3. Use parentcss = "none"
Continuing Education :: CSS by yasserhy
What is the correct CSS syntax for making all the <p> elements bold?
  1. p {text-size:bold}
  2. p {font-weight:bold}
  3. <p style="text-size:bold">
  4. <p style="font-size:bold">
Continuing Education :: CSS by yasserhy
If your styles work on Firefox but not on IE, what should you check?
  1. !DOCTYPE Definition
  2. CSS Standard Type Definition
Continuing Education :: CSS by yasserhy
Which CSS property controls the text size?
  1. font-style
  2. font-size
  3. text-size
  4. text-style
Continuing Education :: CSS by yasserhy
How do set the minimum height to 100px for a structural element?
  1. height: 100px min;
  2. min-height: 100px;
1 2 next page