Comment

Comment by johncmouser

they will be nested right. so

  <div>
  <p>
  <h1>
  <h2>
without closing tabs create the DOM tree div->p->h1->h2

if you were actually developing production code and misplaced, let's say, <p>'s closing tag, then that would mess up the rest of your tree (from your perspective -- the computer doesnt care)

parent johncmouser 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton