Reply to Re: Esoteric XHTML question about href

Your name:

Reply:


Posted by Toby A Inkster on 03/14/07 10:08

David Dorward wrote:

> You mean as I suggested when I said:
> """
> href="http://www.example.com/foo/someImage"
>
> ... and then the server can deliver up whatever you like.
> """
> ?

What I meant was a combination of two of your suggestions.

>> How well that all works in practise on today's user agents is another
>> matter entirely.
>
> The user agent doesn't matter if you're making the decision based on what
> images are available on the server. Apache MultiViews to the rescue!

What I was a little unsure of was how browsers would react to an OBJECT
element without a TYPE attribute. The TYPE attribute is technically
optional, but it's recommended when a data attribute is present.

If the TYPE attribute is absent, then the user agent is not aware of what's
at the other end. Unsure of whether it can handle it or not, it may decide
not to request the resource at all, and simply display the alternative
content.

I'm not sure what current user agents actually do in such a situation.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация