Josh Gret
Josh Gret

Reputation: 1

what does this </> mean? or does it even mean anything?

Just curious does this: </>, do anything? I saw this twice and I don't know if they were both typos or if they actually do something?

Upvotes: 0

Views: 268

Answers (1)

Dai
Dai

Reputation: 155726

If you saw it in a HTML document, it's probably a typo. HTML does not allow for anonymous element closing tags (even if the name can be inferred from context).

Outside of HTML, I understand that some SGML parsers might support this syntax, but I don't believe any latter-day web browsers support it.

Maybe it's a closing </p> element and the typist didn't apply enough pressure to the p key?

Upvotes: 1

Related Questions