Want To Learn Computer Programming? Take This CSS Basics Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Academia
A
Academia
Community Contributor
Quizzes Created: 1 | Total Attempts: 345
| Attempts: 345 | Questions: 13
Please wait...
Question 1 / 13
0 %
0/100
Score 0/100
1. True or False: You can make different kinds of borders when coding.

Example: Dotted, solid, double, etc.

Explanation

True! There are a variety of border options!

Submit
Please wait...
About This Quiz
Want To Learn Computer Programming? Take This CSS Basics Quiz - Quiz

Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML. CSS is a cornerstone... see moretechnology of the World Wide Web, alongside HTML and JavaScript.
Want to Learn Computer Programming? Take this CSS Basics Quiz
see less

2. Fill in the blank: (indicated by a long line) Check your spelling.

The following snippet will set the _____________ color of the class.

background-color:#HEX;

Explanation

background is the obvious answer

Submit
3. If you want to add italics, what line do you use?

Explanation

Italic! Italics won't work. :)

Submit
4. True or False: text-align:center will ALWAYS center your text.

Explanation

True. Unless there is another class controlling the text. Otherwise, it will ALWAYS center it!

Submit
5. One-word-answer:

What line will make your text align to the LEFT?Make sure you type your answer CORRECTLY as if you were entering it into the CSS.

Explanation

text-align:left; is the answer. Three other options were allowed with variations of spacing, etc.

Submit
6. Somebody asks you that they want to change the color of a font. What do you tell them to input into the class?

Explanation

color:#HEX; is the answer. text-color will not work. Background:#HEX will change the color of the element.

Submit
7. Which of these does not change font size?

Explanation

None of the above. :) All of these will change the classes.

Submit
8. True or False: Padding DOES NOT control size. Only height:PX; and width:PX; can!

Explanation

False! Padding controls size, and is especially useful for moving around text for abnormally-sized gradients.

Submit
9. Which of the following will not work?

Explanation

D is the answer. There is no such thing as border-center.

Submit
10. What are the four kinds of links?

Explanation

D. Visited, Link, and Active.

There is hover but it wasn't in your study guide. Hover controls the color, etc when you're hovering over the link with your mouse.

Submit
11. Look at the following link:
https://s1.zetaboards.com/AcademiaQuiz01/index/

What is wrong with the forum?

Explanation

The person removed a bracket from the end of a class. If the layout was removed the forum, for the most part, would be blank.

Submit
12. Somebody wants to underline something. What is the command?

Explanation

The answer is none of the above. A is spelled wrong, and so is D. B and C will not do anything.

Submit
13. Someone wants to add a background to something. Which of the following does he add?

Explanation

The answer is background:#HEX;

Always close a line with a semi-colon.

Submit
View My Results

Quiz Review Timeline (Updated): Oct 1, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Oct 01, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Jun 22, 2009
    Quiz Created by
    Academia
Cancel
  • All
    All (13)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
True or False: You can make different kinds of borders when coding....
Fill in the blank: (indicated by a long line) Check your spelling. The...
If you want to add italics, what line do you use?
True or False: text-align:center will ALWAYS center your text.
One-word-answer: What line will make your text align to the LEFT?Make...
Somebody asks you that they want to change the color of a font. What...
Which of these does not change font size?
True or False: Padding DOES NOT control size. Only height:PX; and...
Which of the following will not work?
What are the four kinds of links?
Look at the following link:...
Somebody wants to underline something. What is the command?
Someone wants to add a background to something. Which of the following...
Alert!

Advertisement