Question: What is the difference between `$('header').html()` and `$('header').text()`?
- `$('header').html()` returns the inner HTML of the header. `$('header').text()` returns only the text
- `$('header').html()` returns only the HTML tags used, without the text. `$('header').text()` returns only the text
- `$('header').html()` strips all HTML from the header. `$('header').text()` always returns an empty string.
- `$('header').html()` returns all headers in an HTML document. `$('header').text()` the first line of a text file.
Answer: The correct answer of the above question is Option A:`$('header').html()` returns the inner HTML of the header. `$('header').text()` returns only the text