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

Comment by chaz6

15 hours ago

If I enter the following:-

    <p><p></p>

Should the second <p> be nested or not?

1 comment

chaz6

Reply

bazoom42  15 hours ago

No. P elements does not nest, so this is parsed as: <p></p><p></p>

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities