80s Gold.com (Memories) Pop Music and Tech Quiz

Total Questions in Database = 20 : Please wait while randomising 10 New Questions

#0 - 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


#1 - How do you make a list that lists its items with squares?


1. type: square
2. list-type: square
3. type: 2
4. list-style-type: square


#2 - How do you change the left margin of an element?


1. text-indent:
2. margin:
3. margin-left:
4. indent:


#3 - Where in an HTML document is the correct place to refer to an external style sheet?


1. In the <head> section
2. In the <body> section
3. At the end of the document
4. At the top of the document


#4 - To define the space between the element's border and content, you use the padding property, but are you allowed to use negative values?


1. No
2. Yes


#5 - How do you insert a comment in a CSS file?


1. ' this is a comment
2. /* this is a comment */
3. // this is a comment //
4. // this is a comment


#6 - What is the correct HTML for referring to an external style sheet?


1. <style src="mystyle.css">
2. <link rel="stylesheet" type="text/css" href="mystyle.css">
3. <stylesheet>mystyle.css</stylesheet>


#7 - What is the correct CSS syntax for making all the <p> elements bold?


1. p {font-weight:bold}
2. <p style="font-size:bold">
3. p {text-size:bold}
4. <p style="text-size:bold">


#8 - How do you add a background color for all <h1> elements?


1. h1.all {background-color:#FFFFFF}
2. all.h1 {background-color:#FFFFFF}
3. h1 {background-color:#FFFFFF}


#9 - Which property is used to change the background color?


1. color:
2. background-color:
3. bgcolor:

        
The next time you visit this page, there will another 10 random questions

Submit your own question and up to 5 answers for inclusion on this website HERE