Information Communication Technology ICT – 21 Website authoring | e-Consult
21 Website authoring (1 questions)
Login to see all questions.
Click on a question to view the answer
The most appropriate HTML tag to use is (emphasis). While (italics) could be used, conveys a stronger semantic meaning of emphasis or importance. It indicates that the text is particularly noteworthy.
Example:
<p>The historical quote is: <em>"We shall fight on the beaches, with landings on the landing grounds, with a relentless determination."</em> </p>
Explanation:
- : This tag indicates that the enclosed text is emphasized. Browsers typically display emphasized text in italics, although the exact styling can be controlled with CSS. Using
is semantically correct because it conveys that the quote is important to the content. - : This tag indicates that the enclosed text is italicized. While it can be used for emphasis, it is more commonly used for stylistic purposes (e.g., foreign words, titles of works).
Using helps to draw the reader's attention to the key quote and improves the overall readability and understanding of the webpage.