CSS Quiz # 8

Instructions
Quiz: CSS Quiz # 8
Total Questions: 30 MCQs
Time: 30 Minutes

Note

  • Do not refresh the page while taking the test.
  • Results along with correct answers will be shown at the end of the test.
CSS Quiz # 8
Question 1 of 30
00:00
  • Which is the correct syntax of the CSS?

  • How do you specify 30% opacity in CSS (ignoring IE)?

  • What is the correct shorthand syntax for a border?

  • How will this display: margin: 10px 5px;

  • Which are the two main parts of a CSS rule?

  • p { width:220px; padding:10px; border:5px solid gray; margin:0px; } The total width of an element is calculated like this:

  • How do you hide an element and remove it from the document flow?

  • Which of the following defines the boundary within the element box against which background-image positioning is calculated?

  • What does the pseudo class last-child do?

  • Which HTML tag is used to define an embedded style sheet?

  • CSS comments are inserted inside .

  • What css selctor Selects every <p> element that is the last child of its parent?

  • On which side will there be a 20px padding given the following declaration: padding: 30px 15px 20px 10px;

  • What property is used to specify the indentation of the first line of a text?

  • What do the Greater Than sign > indicate in CSS

  • Setting the left and right margins to auto specifies that they should split the available margin equally, resulting in...

  • What css selector selects all <p> elements that are contained inside of an element with an ID of 'content'?

  • What are the three methods for using style sheets with a web page?

  • Which property is used to horizontally align the text in the table?

  • What attribute is NOT required when using the <link> tag?

  • In CSS, the term "box model" is used when talking about?

  • Which of the following characters is used to begin a css declaration block?

  • Which of the following css declarations would style hyperlinks using sans-serif fonts?

  • What is the correct pseudo-class for modifying only the first element of a selector?

  • Which concept uses the CSS from which implies that every HTML element is a box?

  • True or False : CSS class name starting with a number is supported by all browsers.

  • What property can be used to turn everything into uppercase or lowercase letters, or capitalize the first letter of each word?

  • Which part of the box, where text and images appear?

  • How do you make a list that lists its items with squares?

  • Which is the correct syntax for referring to a pseudo-class?