1. Question:Write any five features of HTML5. 

    Answer
    Five features of HTML5 are given below :

    A.    Canvas
    B.    Cross-document messaging
    C.    Drag and drop
    D.    Embedding of Scalable Vector Graphics(SVG) directly in HTML
    E.    Geolocation

    1. Report
  2. Question:What are Inline element and Block-level element? 

    Answer

    Inline element
    – Inline elements mostly describe brief strings of text and may include other inline elements.

    Block-level elements – A block-level element may contain most other block-level elements and all inline elements. Block-level elements occupy at least one full line when rendering, while inline elements take up only as much space as their content requires.

    1. Report
  3. Question:What are the basic data types of HTML5? 

    Answer
    The basic data types of HTML5 are given bellow:
    A.    CDATA and id and name Attribute values
    B.    Character Encoding
    C.    Content types(MIME Types)
    D.    Language Codes
    E.    Link Types

    1. Report
  4. Question:What is the function of manifest attribute of HTML element? 

    Answer

    The application cache manifest lists the files an application needs to operate when disconnected the network. The browser saves a copy of the files when we access the site online.
        Syntax : <html manifest= “myapplication.manifest”>


    1. Report
  5. Question:Meta element is useful for what purposes? 

    Answer

    Meta elements typically called Meta tags in the head element. Meta specifies information about the current HTML document in a name value pair format, primarily for the benefits of browsers, search engine spiders and user agents.

    1. Report
  6. Question:How many ways you can define list in HTML page? 

    Answer

    We can define html list in three ways, they are :
    A.    Definition list (dl)
    B.    Ordered list (ol)
    C.    Unordered list (ul)


    1. Report
  7. Question:What are the differences between link and anchor element. 

    Answer
     
    Link
    – The link element defines a link between the current document and another resource, but in a much different way then the element. There are two cases for using link:
    To link to a resource that affects the current view, such as a style sheet or favicon.
    To link to a resource that doesn’t affect the page but that is related to it.

    Anchor – The anchor element is essential to the web providing the means to create a hyperlink to another page or serve as an anchor with in a page to which a hyperlink points.


    1. Report
  8. Question:How does del and ins elements are related with each other? 

    Answer

    del: The <del> tag defines a text that has been deleted from a document. Browsers will normally strike a line through deleted text.
    example: text

    ins: The <ins> tag defines a text that has been inserted into a document. Browsers will normally underline inserted text.
    example: text

    1. Report
  9. Question:What are the purposes usemap attribute of <img> tag? 

    Answer
    "usemap" attribute is used to map image associated with image tag. It's value followed by # sign. Other associated tag <map> is used to incorporate with usemap attribute value. 

    example:

    <img src="pic.jpg" usemap="#map_image" />
    <map name="map_image">
       <area shape="rect" coords="0,0,100,100" />
    </map>


    1. Report
  10. Question:What is the benefit of using map tag? 

    Answer

    An image map specifies one or more regions with in a single image, typically for the purposes of linking it to another page or resource. The map element contains the area elements that define the linked regions.


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