HTML meta element defines special meta information Code For Website - Learn About Website | DaddyFile

0

The HTML <meta> Element

The <meta> element is used to specify page description, keywords, author, and other metadata.
Metadata is used by browsers (how to display content), by search engines (keywords), and other web services.

Define keywords for search engines:
<meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">

Define a description of your web page:
<meta name="description" content="Free Web tutorials on HTML and CSS">

Define the character set used:
<meta charset="UTF-8">

Define the author of a page:
<meta name="author" content="Hege Refsnes">

Refresh document every 30 seconds:
<meta http-equiv="refresh" content="30">


Html Code:

<!DOCTYPE html>
<html>

<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="Hege Refsnes">
<meta charset="UTF-8">

<body>
<p>All meta information goes before the body.</p>
</body>

</html>





Html Code Result:

All meta information goes before the body.

Post a Comment

 
Top