Which character is used to indicate an end 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 character is used to indicate an end tag?

Explanation:
End tags use a slash right after the opening angle bracket to signal that the element is closing, as in </div>. This slash tells the parser to end the corresponding opening tag, pairing with it to wrap the content inside. The opening tag uses just <tag>, and the closing angle bracket > ends the tag itself. The symbol ? appears only in processing instructions in some contexts, not as the end-tag marker. So the slash is the indicator that marks an end tag.

End tags use a slash right after the opening angle bracket to signal that the element is closing, as in

. This slash tells the parser to end the corresponding opening tag, pairing with it to wrap the content inside. The opening tag uses just , and the closing angle bracket > ends the tag itself. The symbol ? appears only in processing instructions in some contexts, not as the end-tag marker. So the slash is the indicator that marks an end tag.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy