Which HTML element is used to define a variable in a mathematical or programming context?
Correct answer
A. <var>
17 views
A. <var>
17 views
The correct answer is <var>. The <var> tag is used to define a variable in a mathematical or programming context in HTML. It is commonly used to mark up variables, placeholders, or user-input values within mathematical expressions or code snippets. Using semantic HTML elements like <var> improves the structure and accessibility of variable definitions on web pages.
Not sure why the answer is A? Ask here and get an explanation.