Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

W3C Validators

Featured Replies

Hey everyone, i am using css and html to hand code my sites, as this is the method that i prefer. I am trying my best to keep the code clean and neat and tidy, however when i run it through the validator, i am presented with about 6 errors that i just cannot understand. Does running your html and css coding through html tidy editors and css tidy editors make sure that your code will validate. If not how can you correct errors when you are not sure what they are or why they have occured. I was reading that some css tidy edotors will remove comment tags, which is quite frustrating as these are useful and make it easy to find content in your documents. Any help very much appreciated.

if you site is online you could post the link in here and someone can explain the errors for you, that way you will know where you are going wrong and also how to correct it in the future as well. If it isn't online then maybe post the code :)

Post up the errors it's giving you and/or the relelvant code.

 

The w3c validator is a pain at first, because the errors don't tell you much unless you know what's wrong. After a while you get used to the errors and you know what each one relates too and how to fix it, but for a while, it's not so easy. Stick at it, it gets easier.

 

If you can post the errors/code we can help you work it out.

It's often disheartening when the validator comes back with loads of errors.

 

However, the first error on the list usually causes a knock-on e.g. if you miss a closing tag - so always fix the errors at the top of the list first.

 

I always run my pages through the validator before publishing

  • Author

Cheers guys, i am actually going to put the site up tonight so i will post the link. I just used one of my first sites, as i am at work and i am not too concerned if this does not validate, i am much more concerned about the one that i am uploadng tonight. Do all errors have to be corrected manually or is there a program that will remidate them for you. Will Java Script validate properly as i have used this in one of my pages. Thanks for your help.

IF you've got js in the page, you need to use cdata tags

<![CDATA[ JS CODE HERE ]]>
that just tells the parser that it's character data, you only have wrap js in it when your using selectors and bit's like that which could be misconstrued has html code (is that the appropriate word to use? 'misconstrued' ?).

 

HTML TIDY can clean up warnings, but not errors i don't think. It's not too difficult to do manually if you know what the errors mean, but they're hardly well written errors.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.