Connect with us

HTML

HTML Meta Tags

The META elements have name/value pairs describing properties of the HTML document ex: author, expiry date, a list of keywords etc. The meta tag does not have a closing tag but it holds information within its attributes.

mm

Published

on

The META elements have name/value pairs describing properties of the HTML document ex:-   author, expiry date, a list of keywords etc.

The <meta> tag does not have a closing tag but it holds information within its attributes. <meta> tags placing inside the header document which is represented by <head> and </head> tags.

Meta Keyword

HTML, Keyword Meta Tags is important tag that shows keywords about the document.
Example:–

<!DOCTYPE html>

<html>

<head>

<title>Meta Tags Example</title>

<meta name=”keywords” content=”HTML, Php, SEO, Meta Tags, Metadata” />

</head>

<body>

<p>Hello Keyword!</p>

</body>

</html>

Meta Description

<meta> description tag used for a short description about the document. This tag used by various search engines while indexing a webpage for searching purpose.
Example:–

<!DOCTYPE html>

<html>

<head>

<title>Meta Tags Example</title>

<meta name=”keywords” content=”HTML, Php, SEO, Meta Tags, Metadata” />

<meta name=”description” content=”this is learning text description” />

</head>

<body>

<p>Hello Keyword!</p>

</body>

</html>

Meta Revision Date

Revision date <meta> tag provide information about last updated time of the document.
Example:–

Also Read :   HTML Forms

<!DOCTYPE html>

<html>

<head>

<title>Meta Tags Example</title>

<meta name=”keywords” content=”HTML, Php, SEO, Meta Tags, Metadata” />

<meta name=”revised” content=”webetutorial, 11/12/2015 ” />

</head>

<body>

<p>Hello Keyword!</p>

</body>

</html>

Setting Cookies

Cookies <meta> tag used for store cookies on client side and later this information could be used by the Web Server for tracking a site visitor.
Example:–

<!DOCTYPE html>

<html>

<head>

<title>Meta Tags Example</title>

<meta name=”keywords” content=”HTML, Php, SEO, Meta Tags, Metadata” />

<meta name=”cookie” content=”userid=xyz; expires=Wednesday, 11-nov-15 20:58:59 GMT;” />

</head>

<body>

<p>Hello Keyword!</p>

</body>

</html>

Meta Author Name

We could use an author name in a web page using meta tag.
Try following example of the below sample code box –

<!DOCTYPE html>

<html>

<head>

<title>Meta Tags Example</title>

<meta name=”keywords” content=”HTML, Php, SEO, Meta Tags, Metadata” />

<meta name=”author” content=”victor macclien” />

</head>

<body>

<p>Hello Keyword!</p>

</body>

</html>

Character Set

Character set <meta> tag used within the webpage. Character set use for encoding process of Web pages.
Example:–

Also Read :   HTML Images

<!DOCTYPE html>

<html>

<head>

<title>Meta Tags Example</title>

<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />

</head>

<body>

<p>Hello Keyword!</p>

</body>

</html>

Hi, Thank you for reading my article. I am Victor, a professional blogger from Jaipur, India.I started webetutorial for blogging & sharing solution for developer questions, and now it’s empowering globally by helping them to make money.I am writing about starting & managing a blogs, WordPress, Magento, Social Media, SEO, Marketing, making money online, Investment, Finance, Gadgets, Fitness and more.

Continue Reading
Advertisement
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

five × 4 =

HTML

HTML Character Sets

ASCII was the first character set. It describes 127 different alphanumeric characters that can be used on the internet.

mm

Published

on

To display an HTML page properly, a web browser must know the character set to use.

ASCII was the first character set. It describes 127 different alphanumeric characters that can be used on the internet.

ASCII supported numbers (0-9), English letters (A-Z), and some special characters. UTF-8 (Unicode) covers almost all of the characters and symbols in the world.

ISO-8859-1 was the default character. It also supported 256 different character codes.
The HTML charset Attribute:-
This is specified in the <meta> tag:-

<meta charset=”UTF-8″>

Also Read :   Responsive Web Design Services India
Continue Reading

Subscribe to our newsletter

Enter your email address to subscribe to blog and receive notifications of new articles by email.
100% Privacy. No spam guaranteed

Trending