What are the HTML tags which have no ends?

HTML tags that have no end tag are called “self-closing” or “void” elements. These elements don’t have any content and are closed immediately with a slash (“/>”) in XHTML or are left unclosed in HTML5.

Here are some examples of self-closing HTML tags:

: Used to embed images.
: Used to create input fields in forms.

: Used for line breaks.
: Used to provide metadata about the HTML document.
: Used to link external resources like stylesheets.
These tags are self-contained and do not require closing tags because they don’t contain any content. They’re simply used to define certain elements or provide metadata within the HTML document.


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
Major increase in brute force attacks on wordpress. The 10 best restaurants near me in keller, tx.