hi everyone,
hopefully this'll be a quickie:
in the head section of my html file, i have:
and then later in the body i have:Code:<link hreflang="en" rel="prev" title="page03" href="./page03.htm"> <link hreflang="en" rel="next" title="page05" href="./page05.htm">
can i use any attribute in the link elements to reference toCode:<a href="./page03.htm" title="page03"> PREV</a> | <a href="./menu.htm"> MENU</a> | <a href="./page05.htm" title="page05"> NEXT</a>
the href in the link element from the anchor element?
that is, use the information in the link element to draw on
from the anchor element...
meaning, to pair:
so that i can avoid re-writing the uri twice in the same page?Code:<link hreflang="en" rel="prev" title="page03" href="./page03.htm"> ... <a href="#prev" title="page03"> PREV</a> |
making it also easy to update the uri in only one place if it changes.
http://www.w3c.org does say:
but i haven't found anywhere in the documentation on HOW to do itLinks specified by LINK are not rendered with the document's
contents, although user agents may render them in other ways
(e.g., as navigation tools).
specifically in a VISUAL browser (via developer, not user agent).
i'd /prefer/ not to use javascript if possible, even css if it can be avoided.
i want these links to work even when ppl have javascript turned off and css
overridden. just pure and simple HTML (can be transitional). hence prefer. Css is o.k., i suppose i expect most ppl will use the website's css.
if there's no way around it, then i'll have to do the hard slog and
put it all in manually as hard code with html. one would think, though that
the link element would lend itself very nicely to this sort of behaviour.
the intention is to have a non-frames friendly site.
thanks in advance.
wiklendt.



Reply With Quote

Bookmarks