How should information about pages and the author be displayed in the source code of html pages?

Every day I create web pages (html), but I would like the pages to contain a comment in the source code.

In php you can install 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 on html pages? I would like to indicate at least the following parameters:

  • information on the page
  • Author
  • copyright
  • date and time

EDIT: I know how comments are written in html, I'm just wondering if there is a standard used for this kind of information?

+3
source share
3 answers

<!-- comments --> , html.

head <head> ... </head>, html .

w3c.

0

: html. ..

<!-- #comments goes here -->

PHP , .

-1
source

Source: https://habr.com/ru/post/1719615/


All Articles