Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Get Value of http-equiv or name Attribute in HTML



Use the content attribute in HTML to get the value associated with http-equiv or name attribute.

Example

You can try to run the following code to implement the content attribute −

<!DOCTYPE html>
<html>
   <head>
      <meta name = "description" content = "Learning content and videos">
   </head>
   <body>

      <p>This is demo text.</p>

   </body>
</html>
Updated on: 2020-03-03T09:38:01+05:30

123 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements