HomeCSS-Quizzes CSS Online Quiz - Section 12 byAayushi Bindal •August 22, 2020 0 1.Which element is used in the HEAD section on an HTML / XHTMLpage, if we want to use an external style sheet file to decorate the page ? 1. link 2. src 3. style 4. css 2. Which attribute can be added to many HTML / XHTML elements to identify them as a member of a specific group ? 1. span 2. class 3. div 4.id 3. When we write img src="img.png", what "img.png" inside double quote implies? 1. value 2. element 3. attribute 4. operator 4. Which css property you will use if you want to add some margin between a DIV's border and its inner text ? 1. padding 2. wrap 3. margin 4. None of the above 5. The default value of "position" attribute is _________. 1. relative 2. fixed 3. absolute 4. inherit 6. How will you make all paragraph elements 'RED' in color ? 1. p {color: red;} 2. p.all {color: red;} 3. .all {color: red;} 4. p.all {{color: red;}} 7. By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code ? 1. a {text-decoration:none;} 2. a {{text-decoration:none;}} 3. a {none;} 4. None of the above 8. Which of the following selector selects all the elements of E that have the attribute attr that end with the given value? 1. E[attr$=value] 2. E[attr==value] 3. E[attr$$value] 4. E[attr=value] 9.Which of the following selector selects the element that are checked? 1. :checked 2. empty 3. ::checked 4. select:checked 10.Which of the following selector selects the element that has no children? 1. :empty 2. :void 3. :null 4. :emptyset Tags: CSS-Quizzes Programming-Quizzes Facebook Twitter