Here browser support for each tag is noted to the right of the tag name.
Browsers that do not support the tag are grayed out. Tag usage is indicated below the tag name. Start and end tags are required unless otherwise noted. "Deprecated" means that the tag or attribute is currently supported but is due to be phased out of the HTML specification and is discouraged from use (usually in favor of similar style sheet controls). The attributes listed for each tag reflect those in common use.<applet> NN 2, 3, 4, 6 MSIE 3, 4, 5, 5.5, 6 HTML 4.01 Opera5<applet>...</applet>
Deprecated. This tag (first introduced in Netscape Navigator 2.0) is used to place a Java applet on the web page. <applet> and all its attributes have been deprecated in favor of the <object> element, but it is still widely used. Some applets require the use of the <applet> tag. Furthermore, Navigator 4 and earlier and Internet Explorer 4 do not support Java applets via object tags.
Aligns the applet and allows text to wrap around it (same as image alignment).
Provides alternate text if the applet cannot be displayed.
Provides a space-separated list of URLs with classes to be preloaded.
Required. Specifies the class name of the code to be executed.
URL from which the applet code is retrieved.
Height of the initial applet display area in pixels.
Holds number pixels space clear to the left and right of the applet window.
Names the applet for reference from elsewhere on the page.
Holds number pixels space clear above and below the applet window.
Width of the initial applet display area in pixels.
Embeds an object into the web page. Embedded objects are most often multimedia files that require special plug-ins to display (for example, Flash movies, Quicktime Movies, etc.). In addition to the standard attributes listed below, certain media types and their respective plug-ins may have additional proprietary attributes for controlling the playback of the file. The closing tag is not always required, but is recommended.
NN 4.0+ and MSIE 4.0+ only. Controls the alignment of the media object relative to the surrounding text. The default is bottom. top and bottom are vertical alignments. left and right position the object on the left or right margin and allow text to wrap around it.
Specifies the height of the object in number of pixels. Some media types require this attribute.
Hides the media file or player from view when set to yes. The default is no.
Specifies a name for the embedded object. This is particularly useful for referencing the object from a script.
NN 4.0+ and MSIE 4.0+ only. This attribute applies to the Windows platform only. A value of foreground makes the plug-in's palette the foreground palette.
Conversely, a value of background makes the plug-in use the background palette; this is the default.
NN 4.0+ and MSIE 4.0+ only. Specifies the URL for information on installing the appropriate plug-in.
Required. Provides the URL to the file or object to be placed on the page.
Specifies the width of the object in number of pixels. Some media types require this attribute.
Internet Explorer only
Provides alternative text when the media object cannot be displayed (same as for the <img> tag).
Specifies the class name of the Java code to be executed.
Specifies the base URL for the application.
Defines the measurement units used by height and width. The default is pixels. En units are half the point size of the body text.
Netscape Navigator only
Specifies the width of the border (in pixels) around the media object.
Turns the border on or off.
Used in conjunction with the align attribute, the horizontal space attribute specifies (in pixels) the amount of space to leave clear to the left and right of the media object.
Specifies a source for installing the appropriate plug-in for the media file. Netscape recommends that you use pluginurl instead of pluginspage.
Specifies the MIME type of the plug-in needed to run the file. Navigator uses either the value of the type attribute or the suffix of the filename given as the source to determine which plug-in to use.
Used in conjunction with the align attribute, the vertical space attribute specifies (in pixels) the amount of space to leave clear above and below the media object.
Adds a horizontal rule to the page.
Deprecated. If the rule is shorter than the width of the window, this tag controls horizontal alignment of the rule. The default is center.
Deprecated. This displays the rule as a solid (non-shaded) bar.
Deprecated. Specifies the thickness of the rule in pixels.
width=number or %
Deprecated. Specifies the length of the rule in pixels or as a percentage of the page width. By default, rules are the full width of the browser window.
Places a graphic on the page.
Deprecated. Specifies the alignment of an image using one of the following attributes:
Required. Provides a string of alternative text that appears when the image is not displayed. Internet Explorer 4.0+ and Netscape 6 on Windows display this text as a "tool tip" when the mouse rests on the image.
Specifies the width (in pixels) of the border that surrounds a linked image. It is standard practice to set border=0 to turn the border off.
Specifies the height of the image in pixels. It is not required, but is recommended to speed up the rendering of the web page.
Specifies (in number of pixels) the amount of space to leave clear to the left and right of the image.
Indicates that the graphic is used as the basis for a server-side imagemap (an image containing multiple hypertext links).
Specifies a link to a long description of the image or an imagemap's contents. This may one day be used to make information about the image accessible to nonvisual browsers, but it is not currently supported.
Netscape Navigator (all versions) and Internet Explorer 4.0+ only. Specifies an image (usually of a smaller file size) that will download first, followed by the final image specified by the src attribute.
Assigns the image element a name so it can be referred to by a script or style sheet.
Required. Provides the location of the graphic file to be displayed.
Specifies the map containing coordinates and links for a client-side imagemap (an image containing multiple hypertext links).
Specifies (in number of pixels) the amount of space to leave clear above and below the image.
Specifies the width of the image in pixels. It is not required, but is recommended to speed up the rendering of the web page.
Internet Explorer's dynsrc attribute
Using a dynsrc attribute, Internet Explorer Versions 2.0 and later also use the <img> tag to place a video on the page. The following attributes are related to the dynsrc function and work only with Internet Explorer:
Displays playback controls for the video.
Provides the location of the video file to be displayed on the page.
Sets the number of times to play the video. It can be a number value or set to infinite.
Specifies when to play the video. By default, it begins playing as soon as it's downloaded (fileopen). You can set it to start when the mouse pointer is over the movie area (mouseover). If you combine them (separated by a comma), the movie plays once when it's downloaded, then again every time the user mouses over it.
Creates a scrolling-text marquee area.
Aligns the marquee with the top, middle, or bottom of the neighboring text line.
Specifies how the text should behave. Scroll is the default setting and means the text should start completely off one side, scroll all the way across and completely off, then start over again. Slide stops the scroll when the text touches the other margin. Alternate means bounce back and forth within the marquee.
bgcolor=#rrggbb or color name
Sets the background color of the marquee.
Defines the direction in which the text scrolls. IE 4.0+ also support the values up and down.
Defines the height in pixels of the marquee area.
Holds a number of pixels space clear to the left and right of the marquee.
Specifies the number of times the text loops as a number value or infinite.
Sets the number of pixels to move the text for each scroll movement.
Specifies the delay, in milliseconds, between successive movements of the marquee text.
Holds a number of pixels space clear above and below the marquee.
Specifies the width in pixels of the marquee.
The text or object specified by <noembed> appears when an embedded object cannot be displayed (e.g., when the appropriate plug-in is not available). This tag is placed within the <embed> container tags.
<object> NN 3, 4, 6 MSIE 3, 4, 5, 5.5, 6 HTML 4.01 WebTV Opera5
A generic element used for placing an object (such as an image, applet, media file, etc.) on a web page. It is similar to the <embed> tag but is the W3C's approved method for adding elements to a page. Browser support for the <object> tag is not up to standards.
Support in Navigator 4 is buggy, and in IE 4 (and even 5), the tag is generally useful only for ActiveX controls.
Deprecated. Aligns object with respect to surrounding text. See the <img> tag for explanations of the align values.
Specifies a space-separated list of URLs for resources that are related to the object.
Nonstandard. Sets the width of the border in pixels if the object is a link.
Identifies the location of an object's implementation. It is used with or in place of the data attribute. The syntax depends on the object type.
Identifies the base URL used to resolve relative URLs in the object (similar to <base>). By default, the codebase is the base URL of the current document.
Specifies the media type of the code. It is required only if the browser cannot determine an applet's MIME type from the classid attribute or if the server does not deliver the correct MIME type when downloading the object.
Specifies the URL of the data used for the object. The syntax depends on the object.
HTML 4.01. Declares an object but restrains the browser from downloading and processing it. Used in conjunction with the name attribute, this facility is similar to a forward declaration in a more conventional programming language, letting you defer the download until the object actually gets used.
Specifies the height of the object in pixels.
Deprecated. Holds number pixels space clear to the left and right of the object.
Specifies the name of the object to be referenced by scripts on the page.
HTML 4.01. Specifies the message to display during object loading.
Specifies the media type for the data.
Specifies the imagemap to use with the object.
Deprecated. Holds number pixels space clear above and below the object.
Specifies the object width in pixels.
Supplies a parameter within the <applet> or <object> tag.
Required. Defines the name of the parameter.
Defines the value of the parameter.
Indicates the type of value: data indicates that the parameter's value is data (default); ref indicates that the parameter's value is a URL; object indicates that the value is the URL of another object in the document.
HTML 4.01. Specifies the media type of the resource only when the valuetype attribute is set to ref. It describes the types of values found at the referred location.
Holds a specified amount of blank space within the flow of a page. This is a proprietary tag introduced by Netscape; it met with controversy and is now rarely used in common practice. It can be used to maintain space within table cells for correct display in Navigator.
Specifies the type of spacer: vertical inserts space between two lines of text, horizontal inserts space between characters, and block inserts a rectangular space.
Specifies a number of pixels to be used with a vertical or horizontal spacer.
Specifies height in number of pixels for a block spacer.
Specifies width in number of pixels for a block spacer.
Aligns block spacer with surrounding text. Values are the same as for the <img> tag.
Web Designing Related Interview Questions
|HTML Interview Questions||HTML 5 Interview Questions|
|Flash Interview Questions||Graphic Design Interview Questions|
|Illustrator Interview Questions||Dreamweaver Interview Questions|
|UI Developer Interview Questions||Dreamweaver CS3 Interview Questions|
|CSS Advanced Interview Questions||Web Developer Guide Interview Questions|
|Log Shipping Interview Questions||Spring Boot Interview Questions|
|UI Designer Interview Questions||Bootstrap 4 Interview Questions|
Web Designing Related Practice Tests
|HTML Practice Tests||HTML 5 Practice Tests|
|Flash Practice Tests||Graphic Design Practice Tests|
|Illustrator Practice Tests||Dreamweaver Practice Tests|
|UI Developer Practice Tests||Dreamweaver CS3 Practice Tests|
|Web Developer Guide Practice Tests||Advanced jQuery Practice Tests|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.