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.

Problems Validating my local HTML documents.

Featured Replies

I am using Firefox V36.0.1 and after several years of using Firefox to evaluate my website and look for any coding errors, it’s no longer working on one of my PC’s

both computers have the Web Developer add-ons.

 

This is how I normally use it.

 

I do all the coding for my website using Notepad++ (using Notepad++ V6.7.5)

 

The procedure I follow is the following:-

1. Once I have completed my work using Notepad++ I select the option (from within Notepad++) RUN >LAUNCH IN FIREFOX

 

2. When Firefox opens I select :- Tools > Validate Local HTML it then brings up

 

chrome://web-developer/content/validation/html.html

 

and a few seconds later it automatically changes to http://validator.w3.org/check

 

followed by a result: Pass or Fail

 

Normally when passed it will say: This document was successfully checked as XHTML 1.0 Transitional!

 

The PC with the problem seems to freeze at stage 2, the following displays BUT it does NOT advance any further no matter how long I wait.

chrome://web-developer/content/validation/html.html – it does not progress at all

 

Is it a Firefox problem?

Is it a problems with the add-on ? (I have deleted it and reloaded it – the problem remained)

Is it a Notepad++ problem?

 

Any help will be appreciated.

 

 

 

 

  • Author

Nock Thanks for the reply, it sounds a lot of work but it’s only four clicks of a mouse (possibly less that your suggestion). And to cut and paste is ok but with over 600 lines of code on many single pages of my website it’s something I would not wish to do.

I have three PC’s and two laptops that it works on fine. It’s just one of my PC’s that it no longer completes the action. I very much suspect the problem lies with something that has changed on this PC and in the Firefox programme. The only thing I could now try would be to completely remove Firefox, re-install it together with the web tools and see if that works. I was just hoping someone else who uses the same method has also had this problem. Thanks again.

  • Author

Nock - I don’t really want to have one computer doing one thing and the other 4 using my preferred method. I hope to work to a solutions (perhaps with some other suggestionsfrom other experts on this site).

Thanks

I love the web developer plugin (one of my most valued tools).

Have you tried to go to the Tools> Edit Tools>Validate HTML>Edit.

Paste this link into the field and save settings.

http://validator.w3.org/check?verbose=1&uri=

You should also be writing HTML5 now, it's been industry standard for some years now, and the standard actually became official last year so there is no point in using HTML4 (XHTML).

 

Simply paste your HTML5 into the W3 validator.

 

Also notepad ++ is way outdated, look into something like sublime text 3, it's a great text editor and I believe the most commonly used editor in the industry.

Agree with everything but this:

 

Simply paste your HTML5 into the W3 validator.

Copying source code - going to W3C - pasting source code - submitting the form. That is a lot of actions compared to simply pressing a button. The one-click validation is just one of many features of Chris Pedericks exelent web developer extension (FF, Chrome and Opera). The extension has so many advantages over the build in browser tools. I particularly enjoy the rendering in of your page in common device resolutions, the ability to "pin" your CSS to the browser window, the cache management and the ability to clear session or domain cookies with one click.

This extension will make your life so much easier.

Edited by Nillervision

Agree with everything but this:

 

Copying source code - going to W3C - pasting source code - submitting the form. That is a lot of actions compared to simply pressing a button. The one-click validation is just one of many features of Chris Pedericks exelent web developer extension (FF, Chrome and Opera). The extension has so many advantages over the build in browser tools. I particularly enjoy the rendering in of your page in common device resolutions, the ability to "pin" your CSS to the browser window, the cache management and the ability to clear session or domain cookies with one click.

This extension will make your life so much easier.

 

Whatabout when you're using templating like PHP, Angular etc, That's why I paste in from the browser. It's pretty rare now for things to be built without templating, at least in my case. I don't see how an extension would get around that?

 

The chrome dev tools already do a lot of that stuff, like throttling, rendering in common resoloutions, although I don't think that's too useful because things shouldn't be built to certain resoloutions and instead be totally agnostic to screen size. No doubt there's a few useful thingsin the extension though. What do you mean by pin your css to the browser window?

Edited by rbrtsmith

 

Whatabout when you're using templating like PHP, Angular etc, That's why I paste in from the browser. It's pretty rare now for things to be built without templating, at least in my case. I don't see how an extension would get around that?

 

The chrome dev tools already do a lot of that stuff, like throttling, rendering in common resoloutions, although I don't think that's too useful because things shouldn't be built to certain resoloutions and instead be totally agnostic to screen size. No doubt there's a few useful thingsin the extension though. What do you mean by pin your css to the browser window?

It does not matter how your markup is generated. The plugin transmits the souce code to the W3C validation service. It's the exact same thing as if you copy your generated markup and paste it in the validator the only difference is that the process is automated.

It's correct that many of the features are available in the standard developer options but there is just so much more with this plugin.

EDIT: I forgot to answer the question about the "CSS pinning": When you edit your CSS in the browser you can pin it so it does not reload on page postbacks and page refresh. That way you can navigate around your pages and submit forms while keeping your unsaved CSS edits.

Edited by Nillervision

Sounds nice, i'd be interested to know how it knows what html your templating generates as it can get pretty complex if you have a load of external js / php files contributing to the markup. I'll have to investigate :)

  • Author

 

I love the web developer plugin (one of my most valued tools).

Have you tried to go to the Tools> Edit Tools>Validate HTML>Edit.

Paste this link into the field and save settings.

http://validator.w3.org/check?verbose=1&uri=

 

Hi Nillervision, I had not tried this but today I have, in fact I duplicated it as the exact entry was already there.

 

I have even today totally removed Firefox and did a fresh download and reinstalled it to see if that solved the issue, unfortunately it did not.

 

Another development, the Laptop that was working fine, I decided to checked it’s Firefox version and was surprised to see it was:- version 32.0.3 Funnelcake July 2012, Mozilla12 – 1.0.

 

It seems as if after I checked on the version it automatically updated (without me asking it too) so it’s now showing V36.0.1 Funnelcake July 2012, Mozilla12 – 1.0.

 

And guess what it no longer allows me to carry out Validating of my local HTML documents on my website so it’s now the same as the original PC I raided the issue with. It would seem that it must be an issue with Firefox version V36.0.1.

 

I am surprised that I have not found anyone else raising this issue.

 

I will respond to the other suggestions as soon as I get a minute I am all behind today’

  • Author

You should also be writing HTML5 now, it's been industry standard for some years now, and the standard actually became official last year so there is no point in using HTML4 (XHTML).

 

Simply paste your HTML5 into the W3 validator.

 

Also notepad ++ is way outdated, look into something like sublime text 3, it's a great text editor and I believe the most commonly used editor in the industry.

 

Hi rbtsmith,

 

It’s been several years since I started this site (with help from others) and I was always under the impression I was using XHTML. I sorry to ask this question, but how can I check what I am using. The first lines of my website above the head have:-

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head>

 

Does is help with my question.

 

Regarding notepad++ I thought is was still widely used, mine only updated last week so I rather thought it was still a usable bit of software (version 6.7.5)

 

I was not aware of http://www.sublimetext.com/3 is it licensed for single use? Whilst I am the only person using it I need to have it on 2 PC’s and a laptop. Just wondering about the cost.

  • Author

Thanks for all the above, I am now wondering what direction I should go, to be honest much of the above is beyond me. I also have an extreme lack of knowledge with the CSS, most of my website was a result of help from others, I would have real problems if I had to scrap what I have got and start again. I thing I could manage some modifications to the existing site with some guidance as what is required. I have around 80 pages on the site.

 

I obviously need to evaluate the options and find the best way forward.

 

I have has some concerns about “Lightbox” a programme I use for my 1000,s of photographs. I have not updated this for some time and perhaps I should do this now. I have done this in the past. I not sure what version I am running and what is the latest version. In recent years with tablets and Phones being used more and more each year for website viewing I may have some issues in that area.

The doctype declaration for HTML5 is just:

 

<!DOCTYPE html>

The doctype you are using is not even strict XHTML but a transition doctype from HTML4 to XHTML. BTW I just tried the local validation on FF and you are right nothing is happening. I will try to report it to the dev.

  • Author

Thanks Nillervision, for all you help & advice together with all the other contributions. I am glad that the cause of the problem has be identified and I look forward to an update to the latest version of Firefox. I think I have found a way to work round this untill this happens

 

The other points also raised about the need for me to change my website from <!DOCTYPE html> to XHTML etc raises some further questions. So I am assuming I should raise this in a new topic. I will check to see if any others have had this problem before doing this.

 

 

 

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.