Css miscellaneous


  1. Which of the following property sets the font size of text?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    font-size: length | percentage | larger | smaller | xx-small | x-small | small | medium | large | x-large | xx-larger | inherit


  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. 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. 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 property defines labels for a list of items?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    list-style-type: disc | circle | square | decimal | decimal-leading-zero