Test Series - html

Test Number 64/72

Q: Which element is known as HTML plaintext element?
A. </span></div> <div class='b1 panel-body'>B.&emsp;<span><shadow></span></div> <div class='b1 panel-body'>C.&emsp;<span><spacer></span></div> <div class='b1 panel-body'>D.&emsp;<span><noembed></span></div> <div class='desp panel-body' id='d1' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> <plaintext> element renders everything following start tag as raw text, without interpreting any HTML. There is no need for closing tag since everything written after this tag is considered as raw text. <shadow> element is an obsolete part of web component which is used to shadow DOM objects. <spacer> element allows insertion of spaces in documents. <noembed> is an obsolete non-standard which provides fallback to the content of browser.</pre></div> <input type='hidden' class='r1 panel-body' value='<plaintext>'> </div><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> Which element allows insertion of empty spaces on pages?</pre></div> <div class='b2 panel-body'>A.&emsp;<span><strike></span></div> <div class='b2 panel-body'>B.&emsp;<span><spacer></span></div> <div class='b2 panel-body'>C.&emsp;<span><shadow></span></div> <div class='b2 panel-body'>D.&emsp;<span><plaintext></span></div> <div class='desp panel-body' id='d2' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> HTML <strike> element places horizontal line through text. <spacer> is an obsolete HTML element. It allows insertion of empty spaces on pages. It was devised by Netscape to accomplish same effect as single-pixel layout image. <spacer> no longer supported by any major browser and same effects can be achieved by using CSS. <plaintext> element renders everything following start tag as raw text, without interpreting any HTML. <shadow> element is an obsolete part of web component which is used to shadow DOM objects.</pre></div> <input type='hidden' class='r2 panel-body' value='<spacer>'> </div><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> Which element is known as HTML Example Element?</pre></div> <div class='b3 panel-body'>A.&emsp;<span><spacer></span></div> <div class='b3 panel-body'>B.&emsp;<span><strike></span></div> <div class='b3 panel-body'>C.&emsp;<span><xmp></span></div> <div class='b3 panel-body'>D.&emsp;<span><shadow></span></div> <div class='desp panel-body' id='d3' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> HTML <strike> element places horizontal line through text. <spacer> is an obsolete HTML element. It allows insertion of empty spaces on pages. HTML Example Element <xmp> renders text between start and end tags without interpreting HTML in between and using monospaced font. HTML2 specification recommended that it should be rendered wide enough to allow 80 characters per line. <shadow> element is an obsolete part of web component which is used to shadow DOM objects.</pre></div> <input type='hidden' class='r3 panel-body' value='<xmp>'> </div><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> Which attribute specify a column name from the data source object?</pre></div> <div class='b4 panel-body'>A.&emsp;<span>datafld</span></div> <div class='b4 panel-body'>B.&emsp;<span>codebase</span></div> <div class='b4 panel-body'>C.&emsp;<span>hspace</span></div> <div class='b4 panel-body'>D.&emsp;<span>datasrc</span></div> <div class='desp panel-body' id='d4' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> datafld attribute is supported by Internet Explorer 4 and its higher versions. It specifies column name from the data source object that supplies bound data. This attribute may be used to specify various <param> elements passed to Java applet. Codebase gives absolute or relative URL of directory. In applet, hspace provides horizontal space on both of sides. HTML datasrc attribute used for data binding.</pre></div> <input type='hidden' class='r4 panel-body' value='datafld'> </div><script async src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2326555401499436' crossorigin='anonymous'></script> <!-- rightleft --> <ins class='adsbygoogle' style='display:block' data-ad-client='ca-pub-2326555401499436' data-ad-slot='2048140033' data-ad-format='auto' data-full-width-responsive='true'></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> Which attribute is used for data binding?</pre></div> <div class='b5 panel-body'>A.&emsp;<span>name</span></div> <div class='b5 panel-body'>B.&emsp;<span>datafld</span></div> <div class='b5 panel-body'>C.&emsp;<span>datasrc</span></div> <div class='b5 panel-body'>D.&emsp;<span>mayscript</span></div> <div class='desp panel-body' id='d5' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> The name attribute gives name to applet. Datafld attribute specify a column name from the data source object. It is like datafld attribute. It is used for data binding under Internet Explorer 4. It indicates id of data source object that supplies data that is bound to <param> elements associated with an applet. Access to applet is given by mayscript attribute.</pre></div> <input type='hidden' class='r5 panel-body' value='datasrc'> </div><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> Which attribute assigns a name to the applet?</pre></div> <div class='b6 panel-body'>A.&emsp;<span>name</span></div> <div class='b6 panel-body'>B.&emsp;<span>vspace</span></div> <div class='b6 panel-body'>C.&emsp;<span>src</span></div> <div class='b6 panel-body'>D.&emsp;<span>object</span></div> <div class='desp panel-body' id='d6' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> name attribute assigns a name to the applet so that it can be identified by the other resources especially for some particular scripts. Additional vertical space is specified by vspace attribute in pixels. Additional vertival space above or below applet is given by vspace attribute. Src attribute provides absolute URL for file or applet. Object attribute is URL representation of applet.</pre></div> <input type='hidden' class='r6 panel-body' value='name'> </div><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> Which value is there for autoplaying the YouTube video?</pre></div> <div class='b7 panel-body'>A.&emsp;<span>0</span></div> <div class='b7 panel-body'>B.&emsp;<span>1</span></div> <div class='b7 panel-body'>C.&emsp;<span>2</span></div> <div class='b7 panel-body'>D.&emsp;<span>infinite</span></div> <div class='desp panel-body' id='d7' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> We can play our video automatically when the user visits the page by adding a simple parameter to a YouTube URL. When the value is set to be 0 the value will not play automatically when the player loads. It is the default value. When the value is set to be 1 the video will play automatically when the player loads.</pre></div> <input type='hidden' class='r7 panel-body' value='1'> </div><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> Which element is used for YouTube videos?</pre></div> <div class='b8 panel-body'>A.&emsp;<span><iframe></span></div> <div class='b8 panel-body'>B.&emsp;<span><frame></span></div> <div class='b8 panel-body'>C.&emsp;<span><small></span></div> <div class='b8 panel-body'>D.&emsp;<span><samp></span></div> <div class='desp panel-body' id='d8' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> We can host our videos through YouTube and can easily embed them into our website. <iframe> tag will be used for YouTube videos. E.g. <iframe width=”670” height=”612” src= “https://sanfoundry.com”> </iframe></pre></div> <input type='hidden' class='r8 panel-body' value='<iframe>'> </div><script async src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2326555401499436' crossorigin='anonymous'></script> <!-- rightleft --> <ins class='adsbygoogle' style='display:block' data-ad-client='ca-pub-2326555401499436' data-ad-slot='2048140033' data-ad-format='auto' data-full-width-responsive='true'></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> HTML object tag to embed multimedia will not embed in ___________</pre></div> <div class='b9 panel-body'>A.&emsp;<span>audio</span></div> <div class='b9 panel-body'>B.&emsp;<span>video</span></div> <div class='b9 panel-body'>C.&emsp;<span>Java applets</span></div> <div class='b9 panel-body'>D.&emsp;<span>images </span></div> <div class='desp panel-body' id='d9' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> We can use HTML object tag to embed multimedia like video, audio, Java applets, PDF, Flash, ActiveX in the web pages. For embedding video in HTML without iframe tag we can use object tag.</pre></div> <input type='hidden' class='r9 panel-body' value='images '> </div><div style='max-width:800px;margin-left:auto;margin-right:auto;margin-top:40px;padding:5px;box-shadow: 0px 6px 8px #888888;background:white;padding:0px;border-radius: 10px;'><div class='p panel-heading' style='background-color:aliceblue;font-size:15;word-wrap:break-word;'><pre style='padding-left: 0px;background-color:aliceblue;line-height:22px;'><b>Q:</b> video ID can be substituted by _____________</pre></div> <div class='b10 panel-body'>A.&emsp;<span>“videoseries?list=”</span></div> <div class='b10 panel-body'>B.&emsp;<span>“videoseries.list=”</span></div> <div class='b10 panel-body'>C.&emsp;<span>“videoseries/list=”</span></div> <div class='b10 panel-body'>D.&emsp;<span>“videoseries$list=”</span></div> <div class='desp panel-body' id='d10' style='background-color:#ffffb3;padding-top:20px;'><pre style='background-color:#ffffb3;padding-left: 0px;line-height:22px;'><b>Solution:</b> We can modify the embed code for an individual video by substituting video ID after “embed/” with “videoseries?list=”, then paste playlist ID after “=”, paste the code into the blog or Website HTML.</pre></div> <input type='hidden' class='r10 panel-body' value='“videoseries?list=”'> </div> <br> <table style="margin-left:auto;margin-right:auto;color:Black;font-weight:bold "><tr><td>You Have Score &nbsp&nbsp </td><td id="t1"></td><p></p><td>/10</td></td></tr></table> <br> <div style="text-align:center"> <a href='exam4.php?tno=63&type=html'> <button style='float:left;color:Black;font-weight:bold;background-color:#008a9a;color:white;padding:16px;padding-top:10px;padding-bottom:10px;border-radius:10px'>Previous Test</button> </a><a href='exam4.php?tno=65&type=html'> <button style='float:right;color:Black;font-weight:bold;background-color:#008a9a;color:white;padding:16px;padding-top:10px;padding-bottom:10px;border-radius:10px'>Next Test</button> </a><a href='interviewhome.php'> <button style='color:Black;font-weight:bold;background-color:#008a9a;color:white;padding:16px;padding-top:10px;padding-bottom:10px;border-radius:10px'>Back to Home</button> </a> </div> <script> //to disable right click... also added on body tag $(document).ready(function () { $('body').bind('cut copy', function (e) { e.preventDefault(); }); }); </script> </body> </html>