New answers tagged


XML, which XHTML is, requires self-closing tags to have a closing slash. In a URI, a trailing slash indicates a directory resource. In a URI, no trailing slash indicates a resource; such as a file. On a top level domain, such as, browsers will drop the closing slash but I can't think of the details at the moment.

Top 50 recent answers are included