How much time should I put into validating my HTML and CSS?

Tags: php,javascript,html,css

Problem :

I'm making some pages using HTML, CSS, JavaScript and PHP. How much time should I be putting into validating my pages using W3C's tools? It seems everything I do works but provides more errors according to the validations.

Am I wasting my time using them? If so any other suggestions to make sure I am making valid pages or if it works it's fine?

Solution :

You should validate your code frequently during development. E.G after each part/chunk revalidate it, and fix errors immediately. that approach speeds up your learning curve, since you instantly learn from small mistakes and avoid a bunch of debugging afterwards, that will only confuse you even more.

A valid page guarantees you that you don't have to struggle with invalid code AND cross-browser issues at the same time ;)


Avoid writing new code until all other code is debugged and fixed

if you have a schedule with a lot of bugs remaining to be fixed, the schedule is unreliable. But if you've fixed all the known bugs, and all that's left is new code, then your schedule will be stunningly more accurate.(Joel test rule number 5)

    CSS Howto..

    How to use css and images to create a rounded header section in an HTML page?

    How do I select columns including colspans in a table?

    How to add a second slideshow on the same webpage

    Double Scroll Bars kept showing in Windows Broswers

    How do I continue to allow the user to click until a certain point?

    how to middle vertical-align using bootstrap input-group

    Using CSS, how can I get the pseudo-class 'empty' on Element B to affect the styling of Element A?

    HTML/CSS- how to align part of a cell to the left, and part to the right?

    CSS3 Menu Layout and Gradient not showing

    CSS: How to set container size equal to background image size

    How can I get Sitecore Field Renderer to use a css class for an image

    How to check if an element matches the :empty pseudo-class in pure JS?

    how to set the css left property of a class on the basis of an ID of a tag

    How to make an item to appear for a short time (Either Javascript or CSS) [closed]

    how can i add a css file to body of a page?

    Responsive CSS layout - how to stretch the background overlay

    Javascript how to use external Css sheet

    How can I control my

    styling in another styling?

    CSS How to hide text after a span

    How can I make all table cell sizes the same width in css?

    How to see the print media CSS in Firebug?

    How to modify CSS rules without adding style attribute?

    How can I hide a style element in html

    How to create a tag using css

    JavaFX - Where is the css file for definition of StageStyle located or how can I change it?

    How to remove hover function from top row in table

    How to hide specific TD borders in a TABLE using CSS

    How to center a text which is placed on an image

    Internet Explorer: how to escape extra carriage return after editing Textarea?

    Integration of CSS, Javascript and html ,,,howto