1. Question:Explain two types of progress element. 

    Answer

    There are two types of progress elements :

    a)    Determinate: A determinate progress has a value, so its progress can be determined by the relation of the value to the max attribute.
    b)    Indeterminate: An indeterminate progress does not have a specified value, so although progress may be occurring, its level can’t be determined.







    1. Report
  2. Question:Briefly describe the preload attribute values of video element 

    Answer

    Preload=”none”: This suggests that it isn’t necessary to preload the video or any metadata. We use this if Its less likely the user will pay the video or if few want to minimize server traffic.

    Preload=”metadata”: this is the same as none except to hint that fetching video metadata only, such as the dimensions, duration, and so on, is ok.
    Preload=”auto”: This hints to the user agent that server traffic is not concern so it may preload some or all of the video.






    1. Report
  3. Question:Why canvas tag is used? 

    Answer

    Canvas: The <canvas> tag is used to draw graphics, on the fly, via scripting(usually JavaScript).The <canvas> tag is only a container for graphics, you must use a script to actually draw the graphics.






    1. Report
  4. Question:Intra page linking or navigation? 

    Answer
    Intrapage linking enables us to have a link in a document that will automatically go to another location within the same document. This is achieved by creating a link to the location using an octothorpe (#) followed by a relevant name, and then defining the location using an anchor element and the name attribute with that name. This technique is most helpful for navigating very long documents.Example
    <p><a href="#news">Go to the News</a></p>
    <h1>Welcome</h1>
    <p>This paragraph welcomes you.</p>
    <h2>About</h2>
    <p>This paragraph talks about us.</p>
    <h2><a name="news">News</a></h2>
    <p>This is the section your link will go to.</p>






    1. Report
  5. Question:Write down differences between HTML and HTML5. 

    Answer
    HTML4HTML5
    DOCTYPE is much longer as HTML4 is based on SGML-based.DOCTYPE is required to enable standards mode for HTML documents.
    Audio and Video are not part of HTML4 specification.Audio and Videos are integral part of HTML5 specifications e.g. <audio> and<video> tags.
    Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash etcVector graphics is integral part of HTML5 e.g. SVG and canvas






    1. Report
Copyright © 2025. Powered by Intellect Software Ltd