Question:Which of the following code snippets insert(s) the code snippet <font size=2> <div class="footer">footer</div> </font> 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'); 

+ Answer
+ Report
Total Preview: 1238

Copyright © 2024. Powered by Intellect Software Ltd