HTML param tag and element
1. HTML param (object parameter) element is specified a set of values which are required by an object at the run-time.
2. param element starts with <param> tag and but the end tag is forbidden.
Syntax
<param />
Category
HTML param element is a part of HTML object, image and applet.
Whether both start and end tags are required
The start tag is required but the end tag is forbidden.
Can contain
HTML param element can not contain any other elements. It is an empty element.
Can reside within
HTML param element can reside within an object element.
Attributes
Identifiers
Supported doctypes
HTML 4.01 Strict, HTML 4.01 Transitional, and HTML 4.01 Frameset.
Example of using HTML param 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>HTML param tag example</title>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=7,0,19,0" width="1025" height="800" title="A demo flash movie">
<param name="movie" value="/html/object/demo.swf">
<param name="quality" value="high">
<embed src="/html/object/demo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="1025" height="800"></embed>
</object>
</body>
</html>
View this example in a separate browser window
Previous: HTML object tag and element
Next: HTML hr tag and element
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://w3resource.com/html/param/HTML-param-tag-and-element.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics