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.


<param />


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.


name, value, valuetype, type.



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">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>HTML param tag example</title>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
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>

View this example in a separate browser window

HTML param tag example.

Previous: HTML object tag and element
Next: HTML hr tag and element

Test your Programming skills with w3resource's quiz.