What is the use of html() method in JQuery?

What is the use of html() method in JQuery?

The html() method sets / returns the content of the particular elements. Syntax - $( selector ).html().