Hacker News new | past | comments | ask | show | jobs | submit login

There is no "empty .html file" in the browser. It's not just a text file, it's a document tree; there are compulsory nodes that need to be created even if you didn't explicitly write them in your file. <html>, <head> (which must contain <title>) and <body> need to exist - and since you didn't create them, the browser must, after it's failed to parse what you were supposed to have included.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: