[whatwg] <meta name="description" href="#desc" />

Roger Hågensen rescator at emsai.net
Fri Mar 19 06:45:18 PDT 2010

I forgot to mention that in addition to <meta name="description" 
href="#desc" />
it could also be possible to implement it for <meta name="keywords" 
href="#keyw" /> etc.

Full example:

<!doctype html>
<html lang="en">
<meta charset="utf-8" />
<meta name="description" href="#description" />
<meta name="author" href="#author" />
<meta name="date" href="#date" />
<meta name="copyright" href="#copyright" />
<meta name="keywords" href="#keywords" />
<title>href extending the meta tags.</title>
<header>Section header.</header>
<p id="#description">This is the first paragraph in the document or an 
aside or some other content perhaps.</p>
<p>More content here.</p>
<footer>Author: <a href="example.com/author/url/" id="#author">Roger 
Hågensen</a> on <time datetime="2010-03-18T08:00:00" id="#date">18th 
March 2010 at 8 o'clock.</time><br />
<span id="#copyright">© Roger Hågensen 2010</span><br />
Keywords: <span id="#keywords"><a 
href="http://example.com/tag/Example/">Example</a>, <a 
href="http://example.com/tag/Meta/">Meta</a>, <a 

The date example is a minor issue though, but I guess a parser could 
just check for a datetime attribute if the id is for a <time> tag?


Roger "Rescator" Hågensen.
Freelancer - http://EmSai.net/

More information about the whatwg mailing list