Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which of the following is an example of a Shortcut Property?

  2. A.

     border

    B.

     font

    C.

     text

    D.

     all of the mentioned

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    All of the above mentioned properties are shortcut properties. For example, the font-family, font-size, font-style, and font-weight properties can all be set at once using a single font property with a compound value:

    font: bold italic 24pt helvetica;


Be The First To Comment