True/False Questions for Cascading Style Sheets (CSS)

  • 1 The selector "p[language|="en"]{ color: white; background-color: black; }" will change all paragraphs to black background with white text. False View Answer

  • 2 When you are styling a web page with CSS, you must start to think in terms of boxes. True View Answer

  • 3 To show the text floating from right side to the left side in direction for a paragraph, we have to specify the direction with value rightToLeft. False View Answer

  • 4 Spacing between the letters of a word and spacing between the words of a sentence can be controlled using CSS. True View Answer

  • 5 Case Cade style sheet cannot convert the letters from lower case to upper case. False View Answer

  • 6 The css text property "text-blockquote" is used to shift/indent the text on the right side by its specified value. False View Answer

  • 7 For external style sheets, The file should contain any html tags and file must be saved with a .css extension False View Answer

  • 8 h1+p {} is the example of "Adjacent Sibling Selector". True View Answer

  • 9 The adjacent descendant selector matches an element type that is a descendant of another specified element (or nested inside another specified element), not just a direct child. False View Answer

  • 10 Universal selector uses a space character like a wildcard and matches all element types in the document. False View Answer

  • 11 HTML was intended to define the content of a document rather than formatting its tags. True View Answer

  • 12 HTML was intended to contain tags for formatting a document. False View Answer

  • 13 The *asterick selects elements with a specific class attribute False View Answer

  • 14 A CSS declaration always ends with a semicolon, and declaration groups are surrounded by curly braces True View Answer

  • 15 One the most efficient way of inserting CSS is inline styling False View Answer

  • ×

    Hidden Questions!

    Some True/False questions are not visible. Usually teachers hides their visibility if they are few in number. Subject Expert recommends them to have more than 70+ questions against the topic and make them public.

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert