Question
HTML and CSS Can someone help me with this? In the following code snippet, what value is given for the left margin margin: 5px 10px
HTML and CSS
Can someone help me with this?
In the following code snippet, what value is given for the left margin margin: 5px 10px 3px 8px;
A. 3px
B. 10px
C. 8px
D. 5px
What is the most common way to add a comment in a CSS file?
A. /* this is a comment */
B. // this is a comment //
C. // this is a comment
D. -- this is a comment --
What property is used to change the text color of an element?
A. fontcolor:
B. textcolor:
C. color:
D. font-color:
What does CSS stand for?
A. Custom Style Sheets
B. Colorful Style Sheets
C. Computer Style Sheets
D. Cascading Style Sheets
The # symbol specifies that the selector is?
A. class
B. id
C. tag
D. first
Which is the correct CSS syntax?
A. {p:color=black(p}
B. p {color: black;}
C. {p;color:black}
D. p:color=black
Which of the following would be used to create an class called header which has a width of 750px, a height of 30px and the color of the text is black?
A. .header { height: 30px; width: 750px; color: black; }
B. #header { height: 30px; width: 750px; color: black; }
C. .header { height: 30px; width: 750px; text: black; }
D. class header { height: 30px; width: 750px; color: black; }
Which snippet of CSS is commonly used to center a website container horizontally?
A. site-align: center;
B. margin: center;
C. margin: 0 auto;
D. margin: auto 0;
How do you make a list not display bullet points?
A. list-style-type: no-bullet
B. list: none
C. bulletpoints: none
D. list-style-type: none
What is the correct CSS syntax for setting all the paragraph tags to have a font size of 14px?
A. p {14px}
B. p {font-size: 14px;}
C. p {text-size: 14px;}
D. p {font: 14px;}
Which CSS property controls the text size?
A. font-height
B. text-size
C. font-size
D. text-style
Which of these properties is used to change the background color?
A. background-color:
B. bg-color:
C. bground:
D. b-color:
How do you display hyperlinks without an underline?
A. a {decoration:no underline}
B. a {text-decoration:none}
C. a {hyperlink:no underline}
D. a {text-decoration:no underline}
A CSS declaration is terminated by?
A. . - a period
B. ! - an exclamation point
C. ; - a semi colon
D. : - colon
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started