Page validation

This is a discussion on "Page validation" within the Web Page Design section. This forum, and the thread "Page validation are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 28th, 2008, 09:12
Junior Member
Join Date: Oct 2007
Location: UK
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Page validation

I have read a few threads here where people are asking about how to make a page with an embedded flash file validate. The answer often seems to be to use a script. I know the scripts recommended have more benefits than just making the page validate, but if you are using script just to make a page validate, it seems pointless to me. Although the W3C validator won't mark it as invalid, the script is still inserting an invalid <embed> element.

Wouldn't it be better to just have a page that doesn't validate than one that validates but uses script to insert the invalid elements?
Reply With Quote

  #2 (permalink)  
Old Jan 28th, 2008, 09:54
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Page validation

Quote:
Originally Posted by djeyewater View Post
Wouldn't it be better to just have a page that doesn't validate than one that validates but uses script to insert the invalid elements?
Yes.

If you're going to write invalid code, at least do so honestly.
Reply With Quote
  #3 (permalink)  
Old Jan 28th, 2008, 12:12
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 967
Blog Entries: 2
Thanks: 5
Thanked 19 Times in 17 Posts
Send a message via Skype™ to Aso
Re: Page validation

Something like SWFObject does have its benefits, besides 'valid' markup. Namely it's a great way to serve up alternate content and it fixes the IE7 'ActiveX' required click.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Green bar of colour at bottom of page gets bigger the more page is extended pixelgirl Web Page Design 1 Apr 1st, 2008 01:27
internal navigation, Linking from one page to a specific div in another page. Oak Web Page Design 5 Feb 8th, 2008 22:54
Linking an outside page back to previous framed page MJustison Starting Out 1 Oct 18th, 2007 17:49
Some confusing validation errors on my home page Zonglars Web Page Design 2 Jul 16th, 2007 14:51
A gap appears beween the Page Title and the Body Content of the page. sovereign6 Web Page Design 6 Dec 18th, 2006 19:14


All times are GMT. The time now is 04:12.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43