When writing in HTML, thetag is a block element used to designate an area for interactive content (plug-in) or an external application. It is useful when you want to add content that might not be natively supported by an Internet browser. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example ofcode

Example result

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all of the current unique HTML attributes for thetag, and a description of each.

  • Example ofcode
  • Example result
  • Attributes
  • Compatibility
  • Related information

Compatibility

Browser, Compatibility, Container tag, HTML audio tag, HTML video tag, URL, Web design terms

  • How to insert a movie or video in an HTML document.
  • How to create a link to play a sound file in HTML.
  • HTML and web design help and support.