HTML profile attribute
profile
The purpose of the HTML profile attribute is to specify the URI to a file or a white space separated list of URIs of meta data (i.e. information about the webpage).
Supported elements
HTML profile attribute supports head element.
Syntax
<head profile="value" >.....</head>
Type of value
URI.
Value
A URI or a space-separated list of URIs.
Default value
There is no default value of HTML profile attribute.
Supported doctypes
HTML 4.01 strict, HTML 4.01 transitional, HTML 4.01 frameset.
Example of HTML profile attribute with form
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head profile="https://www.w3resource.com/profiles.html">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>html profile attribute example</title>
<link rel='stylesheet' href='test.css' type='text/css'>
</head>
<body>
<p>We are learning HTML profile attribute.</p>
</body>
</html>
Previous: HTML onunload attribute
Next: HTML readonly attribute
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics