You are here: Esoteric XHTML question about href « HTML « IT news, forums, messages
Esoteric XHTML question about href

Posted by Grant Robertson on 03/13/07 21:21

I don't know much about XHTML. I am trying to design an XML standard
where content authors can use HTML or XHTML for the content within an
element. I already know how to use the import element in XML. My question
is even more esoteric than that.

Within the above mentioned XHTML content I want authors to be able to
insert an href to refer to a graphic without knowing what file type that
graphic will be. I want them to be able to point instead to a separate
list of alternative files and the first file in the list will be
displayed if possible. If the browser can't display that first file then
it will try the next until it finds one it can display.

What I want is similar to alternate text except for two things: 1) The
alternative could be a different graphic or even a snipit of MATHML or
INKML. 2)The alternatives aren't listed in the original content. They are
listed in a separate file that can be modified without changing the
original content at all.

Can this be done in XHTML at all?

Can it be done with no server-side code?

If so, what is it called and how do I learn about it?

Thanks in advance.

P.S. This is for a standard for marking up educational material. So any
help you give will benefit all of mankind.

 

Navigation:

[Reply to this 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

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