Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know why people are so keen to put distance between themselves and HTML. HTML is a rich, expressive markup language with strong accessibility features that is also consistent and simple.

I write in HTML the way some people write in Markdown using the abbreviated (but valid) syntax.

<!DOCTYPE html>

<title>The Great Novel of All Time</title>

<h1>Chapter One</h1>

<p>It was a dark and stormy night.

<p>Suddenly a shot rang out!

<p>A door slammed. The maid screamed.

If you avoid closing things that don't need to be closed, and use whitespace (and a syntax-highlighting editor) it's easy to write and easy to eye-parse.

No includes though.



Whitespace collapsing just sucks, though. The SGML roots hamper HTML's ergonomics for human writers.


* {white-space: pre-wrap;} or pre-line, depending on what you want. Done.




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

Search: