{"id":110752,"date":"2021-02-25T16:09:57","date_gmt":"2021-02-25T10:39:57","guid":{"rendered":"https:\/\/www.vskills.in\/certification\/tutorial\/?page_id=110752"},"modified":"2024-04-12T14:31:14","modified_gmt":"2024-04-12T09:01:14","slug":"object-tag-and-attributes-3","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/","title":{"rendered":"object tag and attributes"},"content":{"rendered":"\n<p>It offers an easy solution for including objects in a web page. It allows HTML authors to specify everything required by an object for its presentation by a web browser. It tells the browser following information on the multimedia object<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The name of the file and where to find it<\/li>\n\n\n\n<li>The format of the file<\/li>\n\n\n\n<li>The type of plug-in used to play the file<\/li>\n<\/ul>\n\n\n\n<p>A webpage can be embedded in another web page as<\/p>\n\n\n\n<p>&lt;object data=&#8221;page1.htm&#8221; type=&#8221;text\/html&#8221;<\/p>\n\n\n\n<p>width=&#8221;300&#8243; height=&#8221;200&#8243;&gt;<\/p>\n\n\n\n<p>alt : &lt;a href=&#8221; page1.htm&#8221;&gt; page1.htm&lt;\/a&gt;<\/p>\n\n\n\n<p>&lt;\/object&gt;<\/p>\n\n\n\n<p>The &lt;object&gt; tag is used to include objects such as images, audio, videos, Java applets, ActiveX, PDF, and Flash. It was intended to replace the img and applet elements. However, because of bugs and a lack of browser support this has not happened. Its support in browsers depends on the object type as browsers use different codes to load the same object type. But this problem is solved as if the object element is not displayed, the code between the &lt;object&gt; and &lt;\/object&gt; tags will be executed. Thus several nested object elements can be inserted one for each browser.<\/p>\n\n\n\n<p>Parameters used by this tag are<\/p>\n\n\n\n<p><strong>Classid \u2013 <\/strong>It defines a class ID value as set in the Windows Registry or a URL Its value is<\/p>\n\n\n\n<p>class_ID<\/p>\n\n\n\n<p><strong>Codebase<\/strong> \u2013 It defines where to find the code for the object Its value is URL<\/p>\n\n\n\n<p><strong>Codetype<\/strong> &#8211; The internet media type of the code referred to by the classid attribute Its value<\/p>\n\n\n\n<p>is MIME_type.<\/p>\n\n\n\n<p><strong>Data<\/strong> &#8211; It defines a URL that refers to the object&#8217;s data Its value is a URL<\/p>\n\n\n\n<p><strong>Height<\/strong> &#8211; It defines the height of the object Its value is in pixels<\/p>\n\n\n\n<p><strong>Hspace<\/strong> &#8211; It defines the horizontal spacing around the object Its value is in pixels<\/p>\n\n\n\n<p><strong>Name<\/strong> &#8211; It defines the name for an object (to use in scripts).<\/p>\n\n\n\n<p><strong>Type<\/strong> &#8211; Defines the MIME type of data specified in the data attribute Its value is MIME_type<\/p>\n\n\n\n<p><strong>Vspace<\/strong> &#8211; Defines the vertical spacing around the object Its value is pixels<\/p>\n\n\n\n<p><strong>Width<\/strong> &#8211; Defines the width of the object Its value is pixels<\/p>\n\n\n\n<p>Some parameters related to web page are given in the param tag as shown to embed a wav file<\/p>\n\n\n\n<p>&lt;object type=&#8221;audio\/x-wav&#8221; data=&#8221;sound1.wav&#8221;<\/p>\n\n\n\n<p>width=&#8221;200&#8243; height=&#8221;20&#8243;&gt;<\/p>\n\n\n\n<p>&lt;param name=&#8221;src&#8221; value=&#8221; sound1.wav&#8221;&gt;<\/p>\n\n\n\n<p>&lt;param name=&#8221;autoplay&#8221; value=&#8221;false&#8221;&gt;<\/p>\n\n\n\n<p>&lt;param name=&#8221;autoStart&#8221; value=&#8221;0&#8243;&gt;<\/p>\n\n\n\n<p>alt : &lt;a href=&#8221; sound1.wav&#8221;&gt; sound1.wav&lt;\/a&gt;<\/p>\n\n\n\n<p>&lt;\/object&gt;<\/p>\n\n\n\n<p>Adding a flash object in a web page is as<\/p>\n\n\n\n<p>&lt;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243;<\/p>\n\n\n\n<p>id=&#8221;movie1&#8243; codebase=&#8221;website\/swflash.cab&#8221;<\/p>\n\n\n\n<p>width=&#8221;200&#8243; height=&#8221;300&#8243;&gt;<\/p>\n\n\n\n<p>&lt;param name=&#8221;movie&#8221; value=&#8221; movie\/ movie1.swf&#8221; \/&gt;<\/p>\n\n\n\n<p>&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; \/&gt;<\/p>\n\n\n\n<p>&lt;img src=&#8221; movie.jpg&#8221; width=&#8221;200&#8243;<\/p>\n\n\n\n<p>height=&#8221;300&#8243; alt=&#8221; movie1&#8243; \/&gt;<\/p>\n\n\n\n<p>&lt;\/object&gt;<\/p>\n\n\n\n<p>Adding a java applet in web page is done as<\/p>\n\n\n\n<p>&lt;object<\/p>\n\n\n\n<p>classid=&#8221;clsid:8ad9c840-044e-11d1-b3e9-00805f499d93&#8243;<\/p>\n\n\n\n<p>width=&#8221;200&#8243; height=&#8221;200&#8243;&gt;<\/p>\n\n\n\n<p>&lt;param name=&#8221;code&#8221; value=&#8221;applet.class&#8221;&gt;<\/p>\n\n\n\n<p>&lt;\/object&gt;<\/p>\n\n\n\n<p>The classid attribute specifies version of Java Plug-in to use. The optional codebase attribute specifies if and how to download the JRE.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Apply for HTML Certification<\/strong><\/h3>\n\n\n\n<p><a href=\"https:\/\/www.vskills.in\/certification\/certified-html-designer\">https:\/\/www.vskills.in\/certification\/certified-html-designer<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><a href=\"https:\/\/www.vskills.in\/certification\/certified-html-designer\" target=\"_blank\" rel=\"noreferrer noopener\">Back to Tutorials<\/a><\/strong><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>It offers an easy solution for including objects in a web page. It allows HTML authors to specify everything required by an object for its presentation by a web browser. It tells the browser following information on the multimedia object A webpage can be embedded in another web page as &lt;object data=&#8221;page1.htm&#8221; type=&#8221;text\/html&#8221; width=&#8221;300&#8243; height=&#8221;200&#8243;&gt;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-110752","page","type-page","status-publish","hentry","category-html"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>object tag and attributes - Tutorial<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"object tag and attributes - Tutorial\" \/>\n<meta property=\"og:description\" content=\"It offers an easy solution for including objects in a web page. It allows HTML authors to specify everything required by an object for its presentation by a web browser. It tells the browser following information on the multimedia object A webpage can be embedded in another web page as &lt;object data=&#8221;page1.htm&#8221; type=&#8221;text\/html&#8221; width=&#8221;300&#8243; height=&#8221;200&#8243;&gt;...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vskills.in\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-12T09:01:14+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/\",\"name\":\"object tag and attributes - Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"datePublished\":\"2021-02-25T10:39:57+00:00\",\"dateModified\":\"2024-04-12T09:01:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"object tag and attributes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"name\":\"Tutorial\",\"description\":\"Vskills - A initiative in elearning and certification\",\"publisher\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\",\"name\":\"Vskills\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"width\":73,\"height\":55,\"caption\":\"Vskills\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vskills.in\/\",\"https:\/\/x.com\/vskills_in\",\"https:\/\/www.linkedin.com\/company-beta\/1371554\/\",\"https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"object tag and attributes - Tutorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/","og_locale":"en_US","og_type":"article","og_title":"object tag and attributes - Tutorial","og_description":"It offers an easy solution for including objects in a web page. It allows HTML authors to specify everything required by an object for its presentation by a web browser. It tells the browser following information on the multimedia object A webpage can be embedded in another web page as &lt;object data=&#8221;page1.htm&#8221; type=&#8221;text\/html&#8221; width=&#8221;300&#8243; height=&#8221;200&#8243;&gt;...","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2024-04-12T09:01:14+00:00","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/","name":"object tag and attributes - Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"datePublished":"2021-02-25T10:39:57+00:00","dateModified":"2024-04-12T09:01:14+00:00","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/object-tag-and-attributes-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"object tag and attributes"}]},{"@type":"WebSite","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","name":"Tutorial","description":"Vskills - A initiative in elearning and certification","publisher":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization","name":"Vskills","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","width":73,"height":55,"caption":"Vskills"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vskills.in\/","https:\/\/x.com\/vskills_in","https:\/\/www.linkedin.com\/company-beta\/1371554\/","https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw"]}]}},"_links":{"self":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/110752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/comments?post=110752"}],"version-history":[{"count":3,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/110752\/revisions"}],"predecessor-version":[{"id":126934,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/110752\/revisions\/126934"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=110752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=110752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=110752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}