News for hackers. Stuff that matters.
Re:Foolproof HTML by c-smile on Sunday February 05, 2017 @01:27AM (#13571236)
If to focus on something close to source code editing then why not to simplify html itself a bit?

Sciter's HTML parser supports shortcut constructs like:

   <button|checkbox(first)> woo! </button>
which is

   <button type="checkbox" name="first"> woo! </button>
And

    <div#foo>  === <div id="foo">
    <div#bar.solid.main>  === <div id="foo" class="solid main">
Not too much but makes life a bit easier while keeping all other HTML features intact.

There are no comments on this comment yet.