dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


advertisement
 

HTML Advanced: Meta Tags : Page 3

Learn how to use meta-tags to make your site searchable and rateable plus see how meta-tags can add simple special effects!


advertisement

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Meta Tags for Server Interaction

<meta http-equiv="server command" content="data">

If you are using the meta tag to store server-specific information (like the author of the page) or to request some action from the server (like opening a new page or playing a sound) the tag will have two attributes, http-equiv and content.



HTTP-EQUIV
The first attribute is http-equiv. It names the meta tag and alerts the browser that the value of this attribute needs to be passed along to the server for processing.

If you are using the metatag for an intranet function, your system administrator may have created a series of name values for this attribute that your own server will understand. Other servers that don't understand the value will just ignore the tag.

If you are using the meta tag to refresh the page or play a sound, this attribute will have the value "refresh." Most web servers have agreed to recognize this value in a meta tag and act appropriately.

<meta http-equiv="refresh">

CONTENT
The second attribute is content. The value of this attribute further defines the value in "http-equiv." For example, if you are playing a sound or loading a new page, the content attribute contains the URL of the page to load.

This meta tag tells the server to refresh the contents of the browser window. The refresh will happen in 30 seconds and the new page is named "index2.html:

<meta http-equiv="refresh" content="30; URL=index2.html">





Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date