Which of the following is not a standard HTML element tag?

Learn web design with our comprehensive test guide. Improve your skills with flashcards and multiple choice questions. Each question includes hints and explanations. Get ready to ace your exam!

Multiple Choice

Which of the following is not a standard HTML element tag?

Explanation:
In HTML, standard element tags are defined by the HTML specification. The tags div, span, and p are part of that standard: div is a block-level container for grouping content, span is an inline container for styling small bits of text, and p represents a paragraph. The tag <context> is not defined as a standard HTML element, so it has no built-in meaning in HTML. Browsers will still render it as an element, but it wouldn't carry semantic meaning unless you create a custom element (and for that you’d typically use a hyphen in the name, like <my-context>). Because <context> isn’t part of the standard set, the best choice is that it is not a standard HTML element tag.

In HTML, standard element tags are defined by the HTML specification. The tags div, span, and p are part of that standard: div is a block-level container for grouping content, span is an inline container for styling small bits of text, and p represents a paragraph. The tag is not defined as a standard HTML element, so it has no built-in meaning in HTML. Browsers will still render it as an element, but it wouldn't carry semantic meaning unless you create a custom element (and for that you’d typically use a hyphen in the name, like ). Because isn’t part of the standard set, the best choice is that it is not a standard HTML element tag.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy