html tutorial - content Attribute in HTML - html5 - html code - html form




  • The content attribute provides the value related with the http-equiv or name attribute.

Syntax for content attribute in HTML:

<meta content = “text”>

Applies To:

Element Attribute
<meta> content

content Attribute Value:

Value Description
text It is specify the content of the meta information.

Sample Coding for content Attribute in HTML:

<!DOCTYPE html>
<html>
    <head>
        <title>Wikitechy content attribute</title>
        <meta name="description" content="Wikitechy a community of Developers 
        and IT Professional">
    </head>
</html>

Code Explanation for content Attribute in HTML:

content Attribute Code Explanation

  1. <meta> tag defines metadata about an HTML document.
  2. name is an attribute, which defines the name of metadata.
  3. content attribute used to describes the value of the name attribute.

Browser Support for content Attribute in HTML:

Yes Yes Yes Yes Yes

Related Searches to content Attribute in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×