Full width home advertisement

How To

Science

Post Page Advertisement [Top]



The HTML <title> Tag


The HTML <title> tag is used for assigning the title of the HTML document. 

Example:

<!DOCTYPE html>

<html>

<head>

<title>Scholars Globe Home</title>

</head>

<body>

<p>Scholars Globe</p>

</body>

</html>


The HTML <meta> Tag

The HTML <meta> tag is used to present metadata about the HTML document which comprises the information about page expiry, page author, list of keywords, page description etc.

Example

<!DOCTYPE html>

<html>

<head>

<title>Scholars Globe HTML Meta Tag Example</title>

<!-- Provide list of keywords -->

<meta name="keywords" content="HTML5, CSS3, Javascript, PHP, ">

<!-- Provide description of the page -->

<meta name="description" content="Information hub">

<!-- Author information -->

<meta name="author" content="Scholars Globe">

<!-- Page content type -->

<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<!-- Page refreshing delay -->

<meta http-equiv="refresh" content="30">

<!-- Page expiry -->

<meta http-equiv="expires" content="Wed, 21 June 2006 14:25:27 GMT">


<!-- Tag to tell robots not to index the content of a page -->

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

</head>

<body>

<p>Scholars Globe</p>

</body>

</html>

No comments:

Post a Comment

Bottom Ad [Post Page]

| Designed by Colorlib