Select from following answers:- $('div')
- $('<div/>')

- $.create('<div/>')
- $.create('div')
- All Above
$('<div/>') is the method used to create a new div element.
You have to append it to any DOM(Document Object Model) element in order to add to the DOM tree.
Show Correct Answer
Asked In: Spotted while Learning |
Alert Moderator