Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What are the properties supporting CSS styles for a document element?

  2. A.

     style and font

    B.

     style and className

    C.

     size and style

    D.

     className and font

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Each Element object has style and className properties that allow scripts to specify CSS styles for a document element or to alter the CSS class names that apply to the element.


Be The First To Comment