Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by JimDabell

1 day ago

> The <br /> or <br/> spelling was added to HTML after XHTML had already basically lost

This is untrue. This is the first public draft of XHTML from 1998:

> Include a space before the trailing / and > of empty elements, e.g. <br />, <hr /> and <img src="karen.jpg" alt="Karen" />.

— https://www.w3.org/TR/1998/WD-html-in-xml-19981205/#guidelin...

1 comment

JimDabell

Reply

chrismorgan  1 day ago

I said added to HTML.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities