A good way of leaving code writers information inside HTML? [closed]
I'm wondering, what would be the best way of leaving code writers (programmers) information/initials/(maybe even) copyright... well, some information about web developer, not content maintainer inside HTML.
Is leaving a link to my site inside footer a good way, or I there maybe can used <meta>
tags for something like that?
Thanks in advance!
Do you want that to be visible to the end user or not?
If not, use comments:
HTML
<!-- comment here -->
CSS
/* comment here */
Javascript
// comment
/* multi-line
comment*/
If yes, most of the times it'll be on the bottom, along with other copyright information.
Just place HTML comments near the start of the document.
<!--
Page Design Copyright © 2010 My Design company,
All rights reserved.
http://example.com
-->
meta elements aren't usually used for this sort of thing as they apply to the content of the current page.
精彩评论