78.9k views
4 votes
To indicate whether the body of an email message contains HTML, you use:

A) HTMLFlag
B) HTMLMode
C) isHTML()
D) setHTML()

User Nungster
by
7.8k points

1 Answer

4 votes

Final answer:

To indicate an email contains HTML, use the method 'setHTML()' which informs the email system to treat the email content with HTML formatting.

Step-by-step explanation:

To indicate whether the body of an email message contains HTML, the correct answer is D) setHTML(). When you are composing an email programmatically, especially in many modern programming languages or email libraries, you use this function or method to specify that the email content should be treated as HTML rather than plain text. This allows the use of various HTML tags for formatting purposes such as bold, italics, underline, and so on. It also allows you to include links, lists, and other HTML elements to create richer and more visually appealing email messages.

User Afewcc
by
8.4k points