Question:Which of the following code snippets insert(s) the code snippet <div class="footer">footer</div> at the end of div tags?
A $('div').append('<div class="footer">footer</div>');
B $('div').appendTo('<div class="footer">footer</div>');
C $('<div class="footer">footer</div>').append('div');
D $('<div class="footer">footer</div>').appendTo('div');
+ AnswerA
+ Report