Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

21. how would you tell the computer to write m&ms? * <p> m&ms<p> <li>m …

Question

  1. how would you tell the computer to write m&ms? *

<p> m&ms<p>
<li>m &and<li/>
<li> m&amp; </li>
<p. m&amp <li>

Explanation:

Brief Explanations

In HTML, the ampersand symbol (&) needs to be encoded as &amp; to be displayed correctly. Option C <li> M&amp; </li> is the only one that correctly encodes the ampersand. The <li> tag is for list - item and <p> is for paragraph. The other options either have incorrect tag usage or incorrect encoding.

Answer:

C. <li> M&amp; </li>