Multiple choice

Which of the following methods in jquery inserts the content at the beginning of the html elements?

  1. append()

  2. prepend()

  3. before()

  4. after()

  5. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

It inserts elements at the beginning of the html elements.