HTML scheme attribute
scheme
The purpose of the HTML scheme attribute is to specify a scheme which can be used to represent the value of the content attribute of the associated meta element.
Supported elements
HTML scheme attribute supports meta element.
Syntax
<meta scheme="value" >.....</meta>
Type of value.
Character data.
Value
A scheme, for example, ISBN.
Default value
There is no default value of HTML scheme attribute.
Supported doctypes
HTML 4.01 strict, HTML 4.01 transitional, HTML 4.01 frameset.
Example of HTML scheme attribute with meta element
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example of HTML scheme attribute with meta element</title>
<meta scheme="ISBN" content="81-265-0521-4">
</head>
<body>
<p>An example of using HTML scheme attribute.</p>
</body>
</html>
Previous: HTML rules attribute
Next: HTML scope attribute
Test your Programming skills with w3resource's quiz.
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://www.w3resource.com/html/attributes/html-scheme-attribute.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics