Which HTML element is used to define computer code text?
Correct answer
A. <code>
17 views
A. <code>
17 views
The correct answer is <code>. The <code> tag is used to define computer code text in HTML, indicating that the content represents a fragment of code. Browsers typically render code text with a monospace font. Using semantic HTML elements like <code> improves the structure and accessibility of web content, particularly for displaying code snippets and examples.
Not sure why the answer is A? Ask here and get an explanation.