These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:19 pm Advanced search

pubdate

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

pubdate

Postby darkhorn » Mon Dec 21, 2009 1:03 am

According to http://diveintohtml5.org/semantics.html
What does the pubdate attribute mean? It means one of two things. If the <time> element is in an <article> element, it means that this timestamp is the publication date of the article. If the <time> element is not in an <article> element, it means that this timestamp is the publication date of the entire document.

Is it true? So I cannot use it everywhere?
darkhorn
<h6>
 
Posts: 5
Joined: Mon Dec 21, 2009 1:00 am

Postby darkhorn » Mon Dec 21, 2009 1:11 am

So I cannot use it time stamp for every time?
darkhorn
<h6>
 
Posts: 5
Joined: Mon Dec 21, 2009 1:00 am

Postby darkhorn » Mon Dec 21, 2009 1:14 am

So I cannot use time stamp for every time?
darkhorn
<h6>
 
Posts: 5
Joined: Mon Dec 21, 2009 1:00 am

Postby darkhorn » Mon Dec 21, 2009 1:24 am

For exmaple, I was born in
Code: Select all
<time datetime="1986-12-22">22 Dec. 1986</time>
in Humans Rebublic of Bulgaria. is not valid because it means that this page was published in 1986?

Or,
Code: Select all
<time datetime="2009-12-15">last week</time>
I got my PHP certificate. is not valid because this page was not published last week?

Moreover they are not valid because this page cannot be published simutenausly in 1986 and 2009?

So use the "time" only to say when was published the article or the entire page?
darkhorn
<h6>
 
Posts: 5
Joined: Mon Dec 21, 2009 1:00 am

Postby darkhorn » Mon Dec 21, 2009 1:39 am

And this is not valid: ????
My certificates:
MCST:
Code: Select all
<time datetime="1999-12-22">22 Dec. 1986</time>

MSRT:
Code: Select all
<time datetime="2000-12-22">22 Dec. 2000</time>

MSCT:
Code: Select all
<time datetime="2000-11-23">23 Nov. 2000</time>

MSDT:
Code: Select all
<time="2001-12-1">1 Dec. 2001</time>


It is not valid, isn't it? Because the article have more than one time?
darkhorn
<h6>
 
Posts: 5
Joined: Mon Dec 21, 2009 1:00 am

Postby zcorpan » Mon Dec 21, 2009 5:22 am

You don't use the pubdate attribute in your examples, so the requirements about pudate don't apply.
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest