Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?

  2. A.

     Unobtrusive JavaScript

    B.

     Obtrusive JavaScript

    C.

     Inherited JavaScript

    D.

     Modular JavaScript

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    A programming philosophy known as unobtrusive JavaScript argues that content (HTML) and behavior (JavaScript code) should as much as possible be kept separate. According to this programming philosophy, JavaScript is best embedded in HTML documents using “script” elements with src attributes.


Be The First To Comment