W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2010

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

From: Roger Hågensen <rescator@emsai.net>
Date: Fri, 19 Mar 2010 14:45:18 +0100
Message-ID: <4BA37FEE.2090602@emsai.net>
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/
Received on Friday, 19 March 2010 06:45:18 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:21 UTC