Things you want to know about websites


Meta Elements

Meta elements don't effect the execution of the web page and they are not displayed by the browser. They are used to provide additional information about the web page.

Meta elements usually describe the character encoding, author of the program, content of the page, important keywords etc.

Meta elements are always placed in the head section of a webpage. They are used usually with the attributes of name, http-equiv and content.

Some of the most used meta elements are described here.

Declaring the Encoding

You can use meta tags to describe the encoding of the web page.


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Here the page uses utf-8 as the character set.

Meta tags used with Searh Engines

The meta tags are used with search engines mostly to give content's description and content's keywords.


Content Description

<meta name="description" content="Guide to Fixed, Elastic and Fluid CSS layouts used in web design"/>

This meta tag gives the description of the page content.

Content Keywords

<meta name="keywords" content="css layouts, design layouts,fluid,elastic,fixed,liquid"/>

This meta tag gives the important keywords of the page.

Meta Redirect

You can use meta element to redirect to the user to a new page. The meta tag with attribute http-equiv="refresh" allows you to load a new page after a desired period of time has elapsed.


<meta http-equiv="refresh" content="5; url=" />

The above element will load the address after 5 seconds.

Note: If we make a page load itself by providing the same url as of the current page, we can have a page that refreshes itself regularly after some time.

Bookmark or Add to Favourites

Next :




Link to this page :

Copy and paste the following code in an html document to link to this page,