w3resource logo


HTML profile attribute - HTML tutorials

HTML profile attribute

<<PreviousNext>>

Description

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="http://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>

<<PreviousNext>>

Rate this tutorial


Your Rating: not set

Share this tutorial

RSS Feed