Re: a new value for <title> and other meta tags

The following text was discovered Thursday 22 August 2002 in a note
attributed to one "Mark Gallagher <mark@cyberfuddle.com>":

> <title> and <h> need not contain the same data.  What if the author 
> wants to place different information in each?

Then you put the <title> back in <head> and use an <h> like normal, I
presume.

> I like the idea of displaying some metadata, though.  What if it were 
> possible to "call" the contents of meta tags and link tags as desired, 
> so you could have:
> 
>    <meta name="description" content="a foo with a bar and so on." />
> 
> Then somewhere in the body:
> 
>    <p>
>    <use type="meta" src="description" />
>    </p>
> 
> But that probably goes a bit beyond the scope of HTML.

I always wanted to use CSS for this, myself. Say:

title { display: block; /* insert other header-like stuff here */ }
meta[name="author"]:after { display: block; float: right; content: "Author:
" attr(author) "."; }

 or the like.

It would have at least made implementing the design on my personal site a
heck of a lot easier. ;D


-- 
Joanne Hunter <http://menagerie.tf/~jrhunter/>  Say No to HTML Mail!/"\
 Of course, I don't know how interesting any of this really is,     \ /
 but now you've got it in your brain cells so you're stuck with it.  X
      --Gary Larson                            ASCII Ribbon Campaign/ \

Received on Wednesday, 21 August 2002 23:48:16 UTC