top | item 9182206

(no title)

icantthinkofone | 11 years ago

Not when you know what you're doing and don't use auto code generators.

discuss

order

lfowles|11 years ago

What is "knowing what you're doing?" I'm honestly curious, because I handwrote most of the HTML on my website and I don't know how to have it cleaner than something like this:

  </div> <!-- footer -->
  </footer>
  </div> <!-- row -->
  </div> <!-- container -->
  
(If you actually look at the website, it will be pretty obvious that I'm no skilled web dev)

krapp|11 years ago

Indenting all of the tags would help, but that's probably about it.

    <div>
       <footer>
       </footer>
    </div>

moron4hire|11 years ago

Assuming a mythical "knows what they are doing" user, then parens aren't any different.

mrits|11 years ago

Are you really on hackernews bragging about HTML skills?

luchadorvader|11 years ago

Bragging? I don't think s/he is bragging, but just saying that html can be done wrong.