Css miscellaneous


  1. Which of the following measurement defines a measurement as a percentage?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Defines a measurement as a percentage. Percentages are denoted by a number followed by the % symbol and are always relative to another value such as length. Quite often they are used to specify some value relative to an inherited value from a parent element.


  1. Which of the following measurement defines a measurement relative to a font’s x-height?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Defines a measurement relative to the height of a font in em spaces. Because an em unit is equivalent to the size of a given font, if you assign a font to 12pt, each em unit would be 12pt, thus 2em would be 24pt.



  1. The ________________ directive allows style sheets to be grouped and joined together, though some might wonder what the value of this function is given what linked styles provide.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Within embedded <style> blocks, properties can be imported from an external file and expanded in place, similar to a macro. Importing can be used to include multiple style sheets. An imported style is defined within a <style> tag using @import followed optionally by a type value and a URL for the style sheet.


  1. Which of the following tag can be used to embed a Document-wide styles in a document’s head element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Document-wide styles can be embedded in a document’s head element using the <style> tag.



  1. Which of the following tag is used to linked information should be placed inside?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    <head>