I’m creating web pages (html) every day, but I would like the pages to have a comment in the source code.
In php you can set something like this
/**
* this is the info on the page
* @param x
* @author me
*/
Is there a similar standard that is used to set comments in html pages?
I would like to specify at least these options:
- information on the page
- author
- copyright
- datetime
EDIT: I know how comments are written in html, I only wonder if there is a standard used for this kind of information?
Meta Tags. That will let you supply the appropriate information. See http://www.submitcorner.com/Guide/Meta/author.shtml for an example of the author. Whilst not a comment it will convey the information, and is machine readable (if you’re happy for the information to be public).