object name Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:object

Description

The name attribute specifies the name of an <object> element.

Attribute Values

Value Description
name The name of the <object> element

The following code shows how to create an <object> element with a name attribute:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<object width="400" height="400" data="helloworld.swf" name="obj1">
</object><!--from   ww  w. j av  a  2 s  .c  o m-->

</body>
</html>

Related Tutorials