Controlling Other Information


You can also add information to your page about who wrote it, what program was used (if any) to generate the (X)HTML code, and if it is copyrighted. Note, however, that search engines do not currently use this information (though they may some day), and browsers don't display it.

To control other information about your page:

1.

In the head section of your Web page, type <meta name="author" content="name" />, where name is the person who wrote the (X)HTML page.

2.

In the head section of your Web page, type <meta name="generator" content="program" />, where program is the name of the software that created (or edited) the (X)HTML page.

3.

In the head section of your Web page, type <meta name="copyright" content="&copy; year holder" />, where year is the calendar year of the copyright, and holder is the name of the person or entity who holds the copyright to the page.

Figure 24.6. You can use as many meta tags as you need.


Tips

  • The generator is created automatically by most Web page editors. You can delete it if you prefer not to give them credit.

  • When you saved pages with Internet Explorer 5 for Windows, it actually had the chutzpah to add meta information to the pages, claiming to be its generator. (For more information on saving the source code from a page on the Web, consult The Inspiration of Others on page 53.) IE 6 and IE 7 are not so bold.


Figure 24.7. The meta information is always invisible in the browser.





HTML, XHTML, & CSS(c) Visual QuickStart Guide
HTML, XHTML, and CSS, Sixth Edition
ISBN: 0321430840
EAN: 2147483647
Year: 2004
Pages: 340

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net