How to markup an article update date? [duplicate] - html

This question already has answers here:
HTML5 published and modified time
(2 answers)
Closed 7 years ago.
I was reading on <article> and it seems that when you should use pubdate to mark up the published date of the article.
That's fine and all if you have published the article once and it was the permanent version of the thing.
However, what happens if you update the article? Is there a way to markup when it was updated? Should I use pubdate for updates too?
I'm not sure that's the case since it would mean machines won't be able to distinguish between when an article was created and when it was updated.
How do you markup the date an article was updated?

pubdate was removed from the HTML5-specs about 3 years ago.
Thus there are no rules or best practices for it... Just read about the < time > element instead:
http://html5doctor.com/time-and-data-element/
http://www.brucelawson.co.uk/2012/best-of-time/

Related

Is it possible to code XHTML and HTML5 together? [duplicate]

This question already has answers here:
How to use HTML5 features with XHTML
(2 answers)
Closed 4 years ago.
I have seen on several occasions that some companies are looking for web developers who know how to program in html5 and xhtml. I wonder why they specify xhtml. I do not know if these languages are used separately or if you can join strengths in the same file.
I'm sorry if my English is not very good and if my question is novice. Thank you
XHTML is an older architecture based on html4, it's possible to keep old applications alive
You can read about this in this link : https://www.w3schools.com/html/html_xhtml.asp

Issues with my website copyright footer [duplicate]

This question already has answers here:
Do copyright dates need to be updated? [closed]
(7 answers)
Closed 6 years ago.
Not really code related but website related which in a different view is programming. The copyright footer on a website has to be of current year, right!?!
Yeah! But It uses PHP not HTML Actually. it uses the following code:
*
$date=Date('Y');
if($date==2016){
echo 2016;
}else{
echo "2016-".$date;
}
?>*
If you are not talking about this, Please me know.
I suppose you have to update the year date on copyright only if you make any change on your site.

for security purpose i want to encode source code of my html page [duplicate]

This question already has answers here:
How to prevent your JavaScript code from being stolen, copied, and viewed? [closed]
(10 answers)
Closed 6 years ago.
i want to design my html page such that; if some body wants to copy my source code from browser it should appear as in encoded format.
Is it possible?
Thank you.
There are a lot of people who are afraid of copyright infringement, but as mplungjan said
If you put it on the web, it will be available to look at.
And that, unfortunately for you, is the case for every site from Google to Stack Overflow.
If there are any bad cases of your site being plagiarized you should think of suing.

How to clear HTML5 data? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I clear html 5 client storage?
Could someone suggest a way to clear HTML5 storage quickly ? I've have been working on something which needs me to clear the local storage quite a lot of times. Any suggestions appreciated.
You could try Clear Console.
It clears HTML5 storage.

How to copy HTML and its associated CSS from any web page [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Tools to selectively copy html+css+js from existing sites
Is there any tool so you can select the HTML part you want to copy and then the tool bring you the CSS rules associated with that HTML.
Have u tired it with FireBug https://addons.mozilla.org/en-us/firefox/addon/firebug/ ??
https://getfirebug.com/