jQuery html method : is used to get the html of the given element.
Syntax of jQuery html() method
Get Html
$(selector).html();
Note : It does not accepts any argument.
jQuery html Method Example 1
Set Html
$(selector).html(html-data);
html-data: string containing the html.