What do you call tags that need no ending tag?
There are HTML tags, such as <img /> , <input /> and <button /> , that need no ending tag ( </img> , </input> and </button> ). What is the term that describes this type of tags? This syntax has a variety of names depending on what language you are using. The best way to find out what it is called is to look at the specification for the specific language. HTML 4.x I can't find any mention of this syntax in the HTML 4.x specification. It is not valid syntax. HTML 5 In the HTML 5 specification the / character (called a SOLIDUS) is valid but has no effect for void elements such as <br /> , <hr />