RE: The <link> element

On Thu, 24 Jun 1999, Chris Wilson wrote:

| >> [HTML]	<link rel="next" href="next.html" title="Title of Next">
| >> [CSS2]	head { display: block } /* display the document head */
| >> 	link:before { content: attr(title) } /* display the 'title' */
| >> 
| >> *Will* a *conformant* browser render the expected rendering ?
| 
| Actually, not necessarily, unless you're referring to XHTML.

(And...)

| >> In particular, will the generated content really be a link ?

I could ask to you a similar question for XHTML. I believe that a <a>
element will be formatted with a 'xml:link' attribute fixed to 'simple'.

Will a <link> element require too a 'xml:link' attribute ? I think it
won't, in particular since it could define links to stylesheets, which are
not 'xml:link' by definition. But I may be wrong, so there are two
possibilities :

 * 'xml:link' required, fixed to 'simple' - There is no problem, <link>
would be a real link, and generated content will be too a link, since CSS
defines that the generated content of an element has the same features
as the element itself.

   Then the problem is to be sure that browsers, as IE, will implement
this behavior.

 * 'xml:link' not required - Here, this is a big problem. There is no way
to be sure <link> will be properly formatted, since there is no way to
format it...

What I want is to be able to use link elements, normalized, in frame-like
menu formatting with CSS dynamic tables. <link> is the ideal element. In a
browser such as lynx, <link> is recognized and automatically generated,
ignoring table formatting of course. In old browsers, <head> is not
displayed, this is not a problem, the navigation just will be more
difficult, period.

I just want to be sure that if a text is generated, with the
sample code above, it will be a link, not a simple text !

| HTML
| processors may treat BODY as the root of rendered content, and HEAD content
| may be unrenderable.

I've just read the Ian Hickson's answer. OK for this point...

--
Nicolas Lesbats - nlesbats@etu.utc.fr
85 r. Carnot 60200 Compiegne - France
 06 86 800 908

Plaider <http://wwwassos.utc.fr/~plaider/>

3:-)

Received on Thursday, 24 June 1999 13:39:58 UTC