Do all HTML tags have end tag?
HTML tags are useful as they indicate to the browser how the content should be formatted and displayed in the browser. Most of the HTML tags come is a set of pairs i.e. an opening tag, and a closing tag. The closing tag is the same as the opening tag except with a slash in it. Eg. <bold> and </bold>, which is the closing tag.
However, not all html tags come in pairs. Some of them do not have end tags. Examples of these kinds of tags include:
<image> tag – used to input an image
<br> tag – used to input a break line
<hr> tag – used to input a horizontal rule
There are a lot more. Usually the tags used for images, object, and such do not have closing tags.