MetaTags and Attributes- | Shalini Chauhan

Post

editor-img
Shalini Chauhan
Apr 13, 2023

MetaTags and Attributes-

Meta tags

Meta tags are HTML tags used to provide additional information about a page to search engines and other clients. Clients process the meta tags and ignore those they don't support. Meta tags are added to the <head> section of your HTML page and generally look like this:

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<meta name="description" content="Author: A.N. Author, Illustrator: P. Picture, Category: Books, Price: £9.24, Length: 784 pages">

<meta name="google-site-verification" content="+nxGUDJ4QpAZ5l9Bsjdi102tLVC21AIh5d1Nl23908vVuFHs34=">

<title>Example Books - high-quality used books for children</title>

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

</head>

</html>

HTML tag attributes

HTML tag attributes are additional values of HTML tags that configure the parent tag. For example, the href attribute of the <a> tag configures the resource the anchor tag points to: <a href="https://example.com/"...>.

Google Search supports a limited number of HTML attributes for indexing purposes. Attributes like src and href are used for discovering resources such as images and URLs.