HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML object Tag

HTML object Tag

 

 

The object tag defines a container for an external resource like a web page, a picture, a media player, or any application. Its original purpose was to add more functionality to the web browser i.e, behave as a plugin.

 

Uses of plugins:-

 

  • Display maps
  • Scan for viruses
  • Website Scanning
  • Ad blocking
  • File scanning
  • Run Java applets
  • Run ActiveX controls

 

Attribute Explanation:-

 

Attribute Value Description
data URL Specifies URL of resource to be used by object.
form form_id Specifies which form object belongs to.
height pixels Specifies height of object.
name name Specifies name for object.
type media_type Specifies media type of data specified in data attribute.
typemustmatch true/false Specifies whether type attribute and actual content of resource must match to be displayed.
usemap #mapname Specifies name of a client-side image map to be used with object.
width pixels Specifies width of object.

 

Syntax:-

 

Its syntax is:- < object >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML