Home >Web Front-end >HTML Tutorial >Get the HTTP header information of the content attribute in HTML
Use the http-equiv attribute to obtain the HTTP header for content attribute information in HTML.
ExampleYou can try running the following code to achieve the http-equiv em> attribute-
<html> <head> <title>HTML http-equiv attribute</title> <meta name = "keywords" content = "HTML, meta tag, metadata" /> <meta name = "description" content = "Description of the document" /> <meta http-equiv = "refresh" content = "10" /> </head> <body style = "background-color:gray"> Document content goes here </body> </html>
The above is the detailed content of Get the HTTP header information of the content attribute in HTML. For more information, please follow other related articles on the PHP Chinese website!