Ad

html meta tag

 META Description

    






Meta elements are tag use HTML and XHTML documents to provide structured metadata about a Web page. meta element part of web page head section. Multiple Meta element different attributes can be use same page. 

<meta name="keywords" content="HTML, CSS, JavaScript"> <meta name="author" content= "Web desigining">

The <meta> tag defines metadata about an HTML document. Metadata is data (information) about data. The <meta> tag support the Global Attributes in the  HTML.

<meta> tags always inside <head> element they typically use character set  page description, keywords, author document ,viewport settings.Meta elements use HTML , XHTML document provide structured metadata Web page. They  part of  web page head section. Multiple Meta element with the different attributes  use on the same page. 

The head of an HTML document is  not displayed in  web browser when the page loaded. It contains information such <title>, links to CSS use  style your HTML content with CSS  links to custom favicons, and metadata data about the HTML, such as  author important keywords that describe the document. Web browsers use information contained  HTML document correctly.

 metadata use Search engines  Google meta tags to understand additional information about webpage.   information use ranking purposes display snippets search results, and sometimes they  ignore meta tags. Example  <title> and <description> elements.


Syntax 

<head>

  <meta charset="utf-8">

  <title>My test page</title>

</head>


Meta html details information


Attributes of the META Element


1) Charset

Value  -  character_set

Description :-

<title>Specifying Metadata-</title>

 <meta charset="UTF-8">

 Specifies the character encoding for the HTML document.  browser to use the utf-8 character encoding data translating machine code into the human undestanding human-readable text and vice versa  displayed in the browser.The purpose of  charset parameter is  specify the encoding of the external script cases encoding is not specified the HTTP protocol level.  override encoding information in HTTP headers.

 UCS Transformation Format 8 ,(www) World Wide Web's most common character encoding. Each character represent (1 to 4 byte) by one to four bytes. UTF-8 is backward-compatible with ASCII and represent any standard Unicode character.


2)  Contents

Value - some_text

Description:-

The property is used to insert generated content web page and fully supported  all  browsers.Text Specifies value associated with the http-equiv or name attribute. The HTML content Attribute is use given value that are related to http-equiv or name attribute. The content attribute can associated <meta> element. Content element are individual design and user experience (UX) component that messaging and brand experiences together. a content element does not conve the brand message ,vision. When content elements work seamlessly the messaging they help content vision to life.



3)  http-equiv

Value :- content-security-policy content-type default-style refresh

Description:-

 The http-equiv attribute provides HTTP header information and value of content attribute. The http-equiv attribute  use to simulate an HTTP response header. http-equiv = "content-type"  is the Indicates meta element encoding declaration state and the represents a character encoding declaration. content = meta-charset string. A specially formatted string providing a character encoding name.


4) name 

Value :-   author.description, keywords generator.revised, others

Description :-

<meta name="description" content="HTML Basics">

The name attribute use to reference elements. JavaScript reference form data after form is submitted.The name attribute specifies  name for an HTML element. This name attribute can be use reference the element a JavaScript.  <form> element, the name attribute is use reference the data is submitted. <iframe> element the name attribute use to target  form submission.

attribute identifier, also called attribute name, string that identifies attribute. An attribute value  content of the attribute  not restricted  the of string. use an attribute name when you want to specify a particular attribute  either retrieval, searches, modification.


Related post

html form tag

css background propertie

No comments

Powered by Blogger.