Monday, August 3, 2009

13 Ways to Browser Test and Validate Your Work

HTML and CSS Validation

First let's take a look at some methods to check HTML and CSS validation. I should mention that I work on a Mac so these are going to be more Mac biased. Not to worry though, there are many platform independent solutions.
Along with validating your files, you should format your markup nicely as well. "Examples and Tips for Great HTML/CSS Formatting" is a article to read more on that subject.

1. W3C Validation - HTML

Probably most commonly known is the online W3C Validation Service. You can validate by URI, file upload or directly inputting the markup. There are several validation options available although most of the time you won't really need to mess with them.
W3C HTML Validation

2. W3C Validation - CSS

W3C also has a CSS validation service that you're most likely familiar with. Just as with the HTML validation service, the CSS version has additional options if necessary and allows validation via URI, file upload and direct markup input.
W3C CSS Validation

3. [Firefox] Web Developer Toolbar

The Web Developer toolbar extension for Firefox is very popular and has tons of great features along with some great tools to check HTML and CSS validation. You can quickly check validation of the site you're currently viewing or a local file you're viewing. It will sent the URI or the file to be checked to W3C and display the results in a new tab.
You can also turn on "Display Page Validation" to show some quick validation information for HTML and CSS without needing to open a new tab. Very useful if you're working on a project. You can also validate much more than just HTML and CSS.
Web Developer Toolbar

4. [Browser Independent] W3C Validator Favelets

I use Safari as my primary web browser but Firefox has spoiled me before I switched with the huge selection of extensions like the Web Developer toolbar and Firebug. Safari has the Web Inspector, a similar tool to Firebug but it doesn't let you check file validation.
A quick and easy way to give just about any major browser a way to validate HTML and CSS is by using favelets. Favelets are bookmarked snippets of JavaScript to add extra functionality. W3C provides several validation favelets I use frequently with Safari.
Safari W3C Validation Favelets

5. Your Development Editor

Most development editors offer some sort of validation tool. Coda and CSSEdit are currently my editors of choice and both provide validation tools.
Coda's Validator

6. Validator S.A.C.

If you need to check for validation on a large number of documents quickly, it can be a pain to open them all up in your favorite editor or via browser. This app makes it quick and easy.
Validator S.A.C. is an OS X stand-alone application that can validate HTML documents (with W3C) using a favelet, drag and drop, with URL's or just the application's File > Open. I use the drag and drop method particularly often. ;-)
Validator S.A.C.

Final Thoughts on Validation

While validation is very important, it is just a tool to help ensure you're code is up to standards and all that good stuff. If you're using some new web technologies, it may not validate but that doesn't mean you shouldn't use it. Innovation is often born by breaking the rules.
With that being said, if you're submitting a template for sale at Theme Forest, make sure ALL your files validatebefore submitting. If there are validation errors due to things like CSS3, just be sure to mention that in the notes to the reviewer. ;-)

Browser Compatibility Testing

If everyone just used up to date versions either Firefox or Safari, browser testing would be a breeze. Let's face it though, that's not going to happen and we'll be dealing with Internet Explorer problems for years to come (not just IE6).
Here are some of the tools I use and some I don't, to test for compatibility on Internet Explorer, Safari, Firefox and other browsers.

Current IE, Firefox and Safari

We'll obviously have the current browsers installed on our systems such as Firefox 3.5, Safari 4, Opera and Internet Explorer if you're on Windows.
browsers

7. Older Versions of Firefox

If you need to test older versions of Firefox there several ways to do this that I've found but these are the easiest I've found.
Portableapps on Windows runs Firefox as a standalone application so installation isn't necessary and it won't mess with your current Firefox install.
MultiFirefox 2.0 on Mac lets you run multiple versions of Firefox side by side by managing the Firefox profiles.
MultiFirefox 2.0
To download other versions of Firefox you can visithttp://releases.mozilla.org/pub/mozilla.org/firefox/releases/

8. Older Versions of Safari

Unfortunately for you Windows based web developers out there, I don't have an easy solution to test multiple versions of Safari. For us Mac users there is a nice collection of standalone versions of Safari provided by Michel Fortin.
Muli-Safari

9 & 10. Older Versions of Internet Explorer

There's no easy way to interactively test IE on Mac so I use Parallels to run a Virtual Machine of Windows XP with IETester installed. This application lets you test versions of IE as far back as 5.5 on Windows XP, Vista and 7.
IETester
Every once in awhile I'll notice an oddity in IETester that I'm not sure occurs in a native version of IE6 or 7 so I've also installed standalone versions of IE6, 7 and 8 using Internet Explorer Collection.
Internet Explorer Collection

Snapshot Services

If you don't need to actually interact with your site in these browsers, you can also use several browser snapshot services which will just show an image of how the site will look for a wide array of browsers.

11. Adobe BrowserLab

Adobe recently came out with a new service called BrowserLab which lets you view a snap shot of a website via URL in different browsers. It's fast, free and gives you a couple different viewing options to compare different browser versions.
Adobe BrowserLab

12. Browsershots.org

Browsershots.org is the same idea has Adobe BrowserLab but with several differences. You can test way more browsers on more platforms with more options like screensize, color depth, javascript, flash, etc. The downside is that the service is a little slower (sometimes too slow) and isn't nearly as nice of a UI.
Browsershots.org

13. Browsercam

If you haven't read "25 Essential Web Services for Designers", you should. It has some great services which is how I found out about Browsercam.
Browsercam is basically the same thing as Browsershots but is a paid service but offers some more in depth features and I assume faster results, although I haven't used it yet.
Browsercam.com

Final Thoughts

So there you have it. Several ways to validate and test your work on both Windows and Mac. If you're submitting a template to Theme Forest you now have no excuse for validation errors or browser incompatibilities. The large majority of templates I review are rejected due to validation errors and browser issues that should have been fixed before being submitted.

15 comments:

Demiurg said...

>Unfortunately for you Windows based web developers out there, I don't have an easy solution to test multiple versions of Safari.

Take a look at BrowserSeal.BrowserPack http://www.browserseal.com/?option=com_content&view=article&id=35

w3c said...

Nice information, I really appreciate the way you presented.


http//www.w3cvalidation.net

Anonymous said...

the dog food conspiracy -
the mini site formula -
tmj help -
tonsil stones remedies -
truth about abs -
twitter trick -
vincedelmontefitness -
vince del monte fitness -
warp speed fat loss -
wedding speech 4u -
win clear -
xbox 360 red light fix -
xp repair pro -
500 love making tips -
acid alkaline diet -
advanced defrag -
alpha male system -
amazing cover letters -
anti spyware -
anti spyware bot -
article rewriter -
art of approaching -
auto cash system -
burnthefat -
burn the fat -
bv cures -
calling men -
camera dollars -
carb rotation diet -
cash making power sites -
cb mall -
combat the fat -
conversationalhypnosis -
conversational hypnosis -

Anonymous said...

credit secrets bible -
destroy hemorrhoids -
dirty talking guide -
dotcom income secrets -
duplicate file cleaner -
dvd copy pro -
earth4energy -
earth 4 energy -
easy launcher -
easy system cleaner -
eatstopeat -
eat stop eat -
eczema free forever -
end your tinnitus -
error nuker -
fatburningfurnace -
fat burning furnace -
fat loss 4 idiots -
final sync -
firewall gold -
fitness model program -
fit over 40 -
fit yummy yummy -
flattenyourabs -
flatten your abs -
forex candlesticks made easy -
forex killer -
forex megadroid -
get rid of your cellulite -
g money pro -
google shadow -
governmentregistry -
government registry -
gov resources -

Anonymous said...

health biz in a box -
homemadeenergy -
home made energy -
hybrid water power -
i software tv -
joyful tomato -
keyword spy pro -
kingdom of pets -
macro virus -
malware bot -
maternityacupressure -
maternity acupressure -
meet your sweet -
microcap millionaires -
moles warts removal -
mole wart removal -
muscle gaining secrets -
natural cure for yeast infection -
paid surveys etc -
panic away -
pdf creator -
public records pro -
quick article pro -
quick income blueprint -
quit smoking today -
ranking loophole -
reg clean -
reg defense -
regi cleanse -
registry easy -
registry genius -
registry winner -
reg sweep -
reg tool -

Anonymous said...

reverse mobile -
richard mackenzie direct -
rig worker -
rocket chinese -
rocket french -
rocket german -
rotator cuff training -
rss feeds submit -
save the marriage -
site builder elite -
six figure yearly 2009 -
sleep tracks -
sold in 21 days -
spyware stop -
stop being tired -
stop your hair loss -
the bad breath report -
thedietsolutionprogram -
the diet solution program -
tonsil stones remedies -
top secret magic code -
truth about abs -
turbulence training -
turn your photos into cash -
vincedelmontefitness -
vince del monte fitness -
warp speed fat loss -
wedding speech 4u -
win clear -
xbox 360 red light fix -
xp repair pro -
1st promotion -
3 redlight fix -
500 love making tips -

Anonymous said...

acid alkaline diet -
advanced defrag -
anti spyware -
anti spyware bot -
art of approaching -
banish rosacea -
blog lock down -
brad yates -
building a chicken coop -
burnthefat -
burn the fat -
carb rotation diet -
combat the fat -
conversationalhypnosis -
conversational hypnosis -
copy n profit -
credit secrets bible -
cure angular cheilitis -
cure morning sickness -
dirty talking guide -
domain tweak system -
dotcom income secrets -
duplicate file cleaner -
earth4energy -
earth 4 energy -
easy launcher -
easy system cleaner -
eatstopeat -
eat stop eat -
eczema free forever -
email finder -
energy 2 green -
error nuker -
evidence smart -

Anonymous said...

fat burning furnace -
fat loss 4 idiots -
final sync -
fitness model program -
fit yummy yummy -
flattenyourabs -
forex enterprise -
governmentregistry -
government registry -
home job stop -
homemadeenergy -
home made energy -
how do i get him back -
hyper vre -
keyword spy pro -
kingdom of pets -
mafia war secrets -
malware bot -
master cleanse secrets -
maternityacupressure -
maternity acupressure -
maximum paid surveys -
meet your sweet -
mobile tv pro -
musclegainingsecrets -
muscle gaining secrets -
my dish biz -
one minute cure -
paid surveys online -
panic away -
pc tv 4 me -
pdf creator -
perfect optimizer -
pick the gender of your baby -

Anonymous said...

plr wholesaler -
private niche empire -
project quick cash -
public records pro -
pull your ex back -
quick article pro -
quit smoking today -
reality creation secrets -
reg clean -
regi cleanse -
registry easy -
registry fix -
registry winner -
reg sweep -
reg tool -
reverse mobile -
reverse phone detective -
richard mackenzie direct -
rich garbage man -
rocket chinese -
rocket french -
seize cars -
shop until you drop -
six figure yearly 2009 -
sleep tracks -
spyware nuker -
spyware stop -
sunshine 4u -
the bad breath report -
the cash1234 system -
thedietsolutionprogram -
the diet solution program -
the free car -
the lazy marketer -

Anonymous said...

tonsil stones remedies -
truth about abs -
truth about diets -
turbulence training -
vincedelmontefitness -
vince del monte fitness -
violin master pro -
warp speed fat loss -
wedding speech 4u -
xp repair pro -
yeast infection no more -
2ip hosting -
10 minute forex wealth builder -
30 minute back links -
500 love making tips -
acid alkaline diet -
advanced defrag -
affiliate jackpot -
anti spyware -
art of approaching -
battery reconditioning -
blogging to the bank -
burnthefat -
burn the fat -
carb rotation diet -
carp evolution -
cb bonus domination -
combat the fat -
content website builder -
conversationalhypnosis -
conversational hypnosis -
cure angular cheilitis -
cure morning sickness -
dirty talking guide -

Anonymous said...

driver robot -
earth4energy -
earth 4 energy -
easy launcher -
easy system cleaner -
eatstopeat -
eat stop eat -
error smart -
evidence eraser -
evidence smart -
fatburningfurnace -
fat loss 4 idiots -
fitness model program -
fit yummy yummy -
flattenyourabs -
flatten your abs -
forex trading machine -
forex trading made ez -
get your exgirlfriend back -
google snatch -
governmentregistry -
government registry -
grow taller 4 idiots -
guy gets girl -
hcg recipes -
homemadeenergy -
home made energy -
how to break 80 -
hyper vre -
instant domain cash -
i software tv -
jamo rama acoustic -
linden method -
lose the back pain -

Anonymous said...

magni work -
maternityacupressure -
maternity acupressure -
musclegainingsecrets -
muscle gaining secrets -
negative calorie diet -
one minute cure -
one week marketing -
only 4 gamers -
paid surveys online -
panic away -
pc on point -
pc tv 4 me -
perfect optimizer -
phone number scan -
pick the gender of your bady -
power 4 home -
profit lance -
public records pro -
quantum mind power -
quit smoking today -
recipe secrets -
reg clean -
regi cleanse -
registry easy -
registry winner -
reg sweep -
reverse mobile -
reverse phone detective -
revolutioniz -
richard markenzie direct -
sale hoo -
simple php -
smtp 2 go -

Anonymous said...

spyware nuker -
surveys 4 checks -
tax liens made easy -
the bad breath report -
thedietsolutionprogram -
the diet solution program -
the handcrafters companion -
the retired millionaire -
the super mind evolution system -
truth about abs -
truth about diets -
turbulence training -
ultimate content creator -
video piggy -
vincedelmontefitness -
vince del monte fitness -
viral tweets -
warp speed fat loss -
webstigate -
win clear -
win spy -
worlds best compost -
xp repair pro -
yeast infection no more -
your approved -
500 love making tips -
acid alkaline diet -
advanced defrag -
amazing resume creator -
anti spyware -
art of approaching -
av advance -
banish tonsil stones -
bookmarking demon -

Anonymous said...

burnthefat -
burn the fat -
carb rotation diet -
catch spouse cheating -
cb affiliate blueprints -
combat the fat -
conversationalhypnosis -
conversational hypnosis -
cure angular cheilitis -
directory of ezines -
dirty talking guide -
dish tv for pc -
dog training online -
domain sales machine -
driver robot -
earth4energy -
earth 4 energy -
easy tech videos -
eatstopeat -
eat stop eat -
error killer -
error smart -
evidence eraser -
evidence smart -
fatburningfurnace -
fat burning furnace -
fatloss4idiots -
fat loss 4 idiots -
fitnessmodelprogram -
fitness model program -
fit yummy yummy -
flattenyourabs -
flatten your abs -
flat to fab -

w3c said...

Nice information, I really appreciate the way you presented.Thanks for sharing..

http://www.w3cvalidation.net/

LinkWithin

Blog Widget by LinkWithin