This is a discussion on "xhtml and validation" within the Web Page Design section. This forum, and the thread "xhtml and validation are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
xhtml and validation
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
xhtml and validation
Hey hey fun fans
So anyway I just spent quite a long time rebuilding my site with css instead of tables (don't really know why I used them in the first place), and I thought I'd go the whole hog and make it xhtml strict 1.0 valid. It's a nightmare! I ended up settling for xhtml transitional, and then realised that I didn't actually know what the point of making it valid XHTML at all was. So what is the point? You can make an accessible, attractive, solid site just using html, and if you try and convert it to XHTML and test it (go here: http://validator.w3.org/) it'll probably have loads of silly little errors, like tags you haven't closed properly and stuff, but they don't actually interfere with the workings of the site at all - even if you test it on all four of the big browsers chances are it'll look and work fine. So anyway, after all that rambling (sorry), my question is, do you validate all your sites? And why? Your thoughts... |
|
|
|
#2
|
|||
|
|||
|
Re: xhtml and validation
Yes I do validate all my sites.
From a personal viewpoint, I think it's the professional thing to do. From a comercial viewpoint, being standards compliant means that your site should work with things you may not even have or are able to consider testing such as mobile phones, assistive technology devices etc, and continue to work correctly as browsers and the Internet continue to evolve. |
|
#3
|
||||
|
||||
|
Re: xhtml and validation
The point is: You're doing your part to bring some standardisation to the internet.
Trying to make all pages conform to the same guidelines so that anyone on any browser, with any special needs can gain the full benefit of viewing your site.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#4
|
||||
|
||||
|
Re: xhtml and validation
Follow standards now so you don't get slapped in the face tomorrow by either new technology or even tougher standards...
It's just good practice, but I believe it should be law.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
#5
|
|||
|
|||
|
Re: xhtml and validation
Plus you'll avoid people on this site telling you that your site doesn't validate, regardless of what your question might be
|
|
#6
|
||||
|
||||
|
Re: xhtml and validation
Quote:
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
#7
|
|||
|
|||
|
Re: xhtml and validation
Hehe! Fair do's...
I suppose I'm just a bit annoyed at the occassional heavy-handedness of the w3c - for example, one of the main reasons my site wouldn't validate to xhtml strict was because I've used the target attribute of the <a> tag - but there's no other way of getting links to open in a new window except javascript, which seems a ridiculously complicated (and code-bloating) way of doing things, and certainly wouldn't help accessibility. Just annoyed me a bit I suppose. I must admit I agree with all your reasons though, and I'm feeling a bit less like I wasted an afternoon now... Cheers! Robb |
|
#8
|
|||
|
|||
|
Re: xhtml and validation
Yep its because that attribute is meant to be for targetting frames.
In case anyone has this prob the javascript way is:
|
|
#9
|
|||
|
|||
|
Re: xhtml and validation
I don't understand. The following code will allow you to open a link in a new window and is valid XHTML.
<a href="http://www.sitenamegoeshere" target="_blank">image code or text here</a> Is that what you mean or are you trying to achieve something else? |
|
#10
|
|||
|
|||
|
Re: xhtml and validation
Yeah, that's valid html or xhtml transitional, but not xhtml strict, which is what we're all supposed to be working towards. Seems a bit silly as the target attribute works correctly in all browsers, I suppose it's just because that's not what it's meant for though like sypher said.
|
|
#11
|
||||
|
||||
|
Re: xhtml and validation
It's not that great a practice making things open in new windows anyway. You should try and avoid it unless it is absolutely necessary.
New window opening can be an annoyance and also it can take the focus away from the main area of your site.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#12
|
|||
|
|||
|
Re: xhtml and validation
And its annoying for firefox users. Because we dont use new windows we use Tabs.
Im guessing with css3 etc they will bring out some new commands to counter these probs. |
|
#13
|
||||
|
||||
|
Re: xhtml and validation
Quote:
It's wonderful!
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#14
|
|||
|
|||
|
Re: xhtml and validation
I always make it a personal point of validating all my sites. Apart from a personal sense of pride and achievement, it shows that you care about web standards, indicates professionalism and impresses customers.
|
|
#15
|
||||
|
||||
|
Re: xhtml and validation
Quote:
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#16
|
|||
|
|||
|
Re: xhtml and validation
Perhaps, but it's just another thing to put on your list of surveys. When you tell them that it will maximise their exposure due to the fact that the site can be viewed on a variety of platforms and browsers, and use buzzwords like 'future-proofing', I reckon they love it. Plus you can tell them that it makes their site really professional etc.
|
|
#17
|
||||
|
||||
|
Re: xhtml and validation
Quote:
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#18
|
|||
|
|||
|
Re: xhtml and validation
Lets also not forget that accessibility guidelines also specify that the use of target=_blank should be avoided unless absolutely necessary as it confuses people who cannot see the screen and have low cognitive abilities. If you absolutely must do it, then you should warn the end user that this is about to happen. |
|
#19
|
||||
|
||||
|
Re: xhtml and validation
Quote:
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|