What is an optional tag?

Technology CommunityCategory: HTML5What is an optional tag?
VietMX Staff asked 3 years ago

In HTML, some elements have optional tags. In fact, both the opening and closing tags of some elements may be completely removed from an HTML document, even though the elements themselves are required.

Three required HTML elements whose start and end tags are optional are the htmlhead, and body elements.