1. Question:In IE6, what problem arises when multiple buttons are used? How can you solve this problem? 

    Answer

    Problem: It submits the name of all the buttons, not just the one the user selected, so we can not process the form accordingly.

    Solution: Safest way is using input buttons, not button elements. Input with type =”image” often provides plenty of creative control.

    1. Report
  2. Question:What is the function of auto complete and placeholder attribute of input tag? 

    Answer
     
    Autocomplete: Many browser store values we have entered in a text fields for subsequent use when filling out another form. It is handy when we are using the form, but it is dangerous if someone else uses our browse later. They may be exposed to sensitive.

    Placeholder: This defines a word or brief phrase that displays in the element as a hint to what the user should enter in the field. It applies only to an input of type=”text” and a text area element. It should not be used as a replacement for the label element.

    1. Report
  3. Question:When colgroup tag is used in html document and for what purpose?

     

    Answer

    The colgroup element allows us to group one or more table columns for styling purposes. It does not impact the tables structure .Colgroup may exist on its own or contain one or more col elements. Which allow more granular styling control within a colgroup .All colgroups must go after caption and before thread if either of those elements is present.

    1. Report
  4. Question:What do you understand by HTML5 document outline? 

    Answer

    Each HTML document has an underlying outline, which is like a table of contents. Now, the outline is not something that displays in our explicitly, but as with all semantics, it’s meaningful to the likes of search engines and screen readers, which use the outline to glean the structure of our page and provide the information to users.


    1. Report
  5. Question: Mention some use of mark tag. 

    Answer

    Some use of mark tag given below:

    1. Highlighting part of a quote that wasn’t highlighted in its original form by the author to call attention to it.
    2. Highlighting a search term when it appears in a results page or an article.
    3. Highlighting a code fragment.


    1. Report
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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 © 2024. Powered by Intellect Software Ltd