Home » HTML » Html miscellaneous » Question
  1. The method not used to add new content is ___________.
    1. add()
    2. after()
    3. prepend()
    4. before()
    5. None of these
Correct Option: A

In jQuery there are four methods to add new content namely prepend(), before(), after(), append(). The append() method inserts at the end, prepend() method inserts at the beginning of the content, after() method inserts the content after selected HTML element, befor() inserts before the selected HTML element.



Your comments will be displayed only after manual approval.