CSS Quiz for Beginners & Interview Questions total-qa July 28, 2018 February 6, 2019 No Comments on CSS Quiz for Beginners & Interview Questions Total-QA Css Quiz 1. What is the CSS used for representing the heading tags with background color as green? h1 { background-color= green; } h1 { background-color: green; } h1 { background-color: green } h1 { bgcolor: green; } 2. What is the CSS used for the Displaying the body back ground color? body { background-color: lightblue; } body { background-color= lightblue; } body { background-color: lightblue } body { bgcolor: lightblue; } 3. What is the Correct Syntax for CSS to be mentioned in the style tag in the head section? .txtboxcolor{background-color:blue} .space{padding:10px} .txtboxcolor=background-color:blue .space=padding:10px .txtboxcolor{background-color;blue} .space{padding;10px} txtboxcolor{background-color:blue} space{padding:10px} 4. What is the property used for background-color for an input Element? bgcolor color back ground color background-color 5. What is the correct way of representing the External CSS? link rel=”stylesheet” href=”styles.css” style rel=”css” href=”myCss.html” stylesheet rel=”html” src=”mycss.html” css rel=”stylesheet” src=”mycss.css” 6. What is the syntax for representing multiple styles for an Element? class=”style1 style2″ class=”style1:style2″ class=”style1,style2″ class=”style1;style2″ 7. What is the attribute to represent the Internal Styles?? class id name value 8. What is the CSS property used to generate space around an element’s content, inside of any defined borders?? space{padding:10px} .space{padding;10px} .space{padding:10px} .space[padding:10px] 9. What is the attribute used to represent in-line style Sheets? style class id name 10. What is the full form of CSS? Colorful Style Sheets Cascading Style Sheets Creative Style Sheets Composite Style Sheets Loading …What is the color of the snow? Question 1 of 10 Cick this Subscription Link to keep in touch with us!!