meta name='' - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:meta

Introduction

You use the name attribute to specify which type of metadata the element refers to, and the content attribute to provide a value.

The following table lists the predefined metadata types that you can use with the meta element.

Metadata Name Description
application name The name of the web application that the current page is part of
author The name of the author of the current page
descriptionA description of the current pag
generator The name of the software that generated the page.
keywords A set of comma-separated strings that describe the content of the pag

In addition to the five predefined metadata names, you can use metadata extensions.

The robots metadata type is an example of an extension.

It can set how the document should be treated by search engines.

For example:

<meta name="robots" content="noindex">

The three values that most search engines will recognize are

Value Meaning
noindex don't index this page
noarchive don't create archives
nofollow don't follow links from this page

Demo Code

ResultView the demo in separate window

<html>
   <head></head>
   <body></body>
</html><!-- www.j a v  a2s  .  c  om-->

Related Tutorials