The <meta> tag provides information (or metadata) about the HTML document.
The <meta> tags should be placed within the head of the HTML document, they are not displayed on the page.
The "Meta" elements are generally used to enable search engines to determine the contents of your web pages and catalog them correctly.
There are many types of meta elements, which are specified by the "name" attribute. Here will be presented a few of them, the most useful meta-tags used for page indexing optimization in search engines.

<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>Page title</title>
<meta name="description" content="A short phrase that describes the content of the page" />
<meta name="keywords" content="list of words, separated by, comma" />
<meta name="abstract" content="Short description of page" />
<meta name="language" content="es" />
<meta name="author" content="Author Name" />

The words in the <title> tag is better to be found in the "keywords" and "description" meta tags, also in the headings (<h1>, <h2>) of the page.

Here is an example of an HTML document with these meta-tags:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html lang="en" xml:lang="en" xmlns="">
 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 <title>Web courses HTML CSS PHP-MySQL JavaScript Ajax Flash</title>
 <meta name="language" content="en" />
 <meta name="description" content="Free online courses and tutorials for web developers: HTML, CSS, PHP-MySQL, JavaScript, Ajax and Flash" />
 <meta name="keywords" content="courses, html, css, php, mysql, javascript, ajax, flash" />
 <meta name="abstract" content="Free online courses and tutorials for web developers" />
 <meta name="author" content="MarPlo" />
   ... Contents that appear in the webpage ...

Meta redirect

The meta-redirect tag (meta refresh) cause the visitor's browser to load a new web page after a given number of seconds.
<meta http-equiv="refresh" content="4;url=" />
The code above will redirect the visitor to the "" page, after 4 seconds.
- Although setting the interval to 0 or a very short time will make the redirect almost undetectable but it is not advised b the 3WC because it can cause problems if the user hits the "Back" button.

Daily Test with Code Example

Which attribute specifies the URL address where to send the form-data?
method action name
<form action="script.php" method="post"> ... </form>
Which CSS property can be used to break lines in the middle of words?
word-wrap line-height font-size
#id {
  width: 100px;
  word-wrap: break-word;
Which function sorts the elements of an array into alphabetical order, based on the string values?
pop() sort() shift()
var tutorials = ["php", "html", "css", "flash"];
alert(tutorials[0]);          // css
Indicate the function that returns the value of the last element into an array.
current() next() end()
$code = array(10=>"Perl", 20=>"PHP", 21=>"Python", 30=>"JavaScript");
$last = end($code);
echo $last;      // JavaScript
HTML Meta tags for search engines

Last accessed pages

  1. The Fifth Agreement (1392)
  2. CKEditor Free Image Browse Plugin (1486)
  3. PHP MySQL - UPDATE (383)
  4. PHP MySQL - WHERE and LIKE (2765)
  5. PHP Simple HTML DOM Parser (989)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (7616)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (7396)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (7108)
  4. PHP Chat Script (6562)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (6516)