How to know if the code is still written in HTML5 standards?

Asked

Viewed 524 times

-1

How could I accomplish, in addition to applying the knowledge I’ve learned and the information from the available documentation, a check to see if an old code written in a previous html version has been updated correctly or is still using obsolete elements and/or attributes from previous HTML5 versions? Thank you.

  • 5

    At first I used the W3C validator to the letter, then I realized that following the patterns blindly has nothing realistic (it’s like "good practices", something that only exists in the world of make-believe). Doing it right is important. Doing it bureaucratic is not. And doing it "exactly" as the validator says, is not right. The validator is very good for you to catch mistakes, and things where you have escaped from the pattern by mistake. It just doesn’t make sense to aim for 100% validation. If what doesn’t validate is a "thought" decision, that’s fine. As long as you know why you did it differently.

  • 5

    I often say, learn right to do right, so you can err wisely later.

  • 1

    https://validator.w3.org/nu/? doc=http%3A%2F%2Fpt.stackoverflow.com%2F

  • Nice of you to say. Actually I wanted something that alerts me when I’m developing with attributes or obsolete elements of previous versions of HTML5 by being used to it like this, letting go beaten new features and possibilities that alone bring benefits not only to me, but for the next and the whole community that eventually too!

2 answers

2


2

Browser other questions tagged

You are not signed in. Login or sign up in order to post.