The HTML() method is utilized to set content. It overwrites the whole content for the matched elements.

Example

                                        

$('#IDNAME').html('<p>Best Interview Question</p>');

Suggest An Answer

No suggestions Available!