Home / CSE / HTML- CS :: Basic HTML

CSE :: HTML- CS

  1. Which attribute specifies a unique alphanumeric identifier to be associated with an element?

  2. A.

     class

    B.

     id

    C.

     article

    D.

     html


  3. The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.

  4. A.

     dir

    B.

     dir

    C.

     class

    D.

     none of the mentioned


  5. Which attribute is used to provide an advisory text about an element or its contents.

  6. A.

     tooltip

    B.

     dir

    C.

     title

    D.

     none of the mentioned


  7. The __________ attribute sets the text direction as related to the lang attribute.

  8. A.

     lang

    B.

     sub

    C.

     dir

    D.

     ds


  9. Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data?

  10. A.

     dataFormatAs

    B.

     datafld

    C.

     disabled

    D.

     datasrc


  11. Which of the following is the attribute that indicates the name of the data source object that supplies the data that is bound to this element?

  12. A.

     dataFormatAs

    B.

     datafld

    C.

     disabled

    D.

     datasrc


  13. Which of the following is the attribute that specifies additional horizontal space, in pixels, to be reserved on either side of an embedded item like an iframe, applet, image, and so on?

  14. A.

     height

    B.

     hspace

    C.

     hidefocus

    D.

     datasrc


  15. The accesskey attribute specifies a keyboard navigation accelerator for the element.

  16. A.

     True

    B.

     False


  17. Which of the following is the attribute that is used to set a global identifier for a microdata item?

  18. A.

     key

    B.

     id

    C.

     itemclass

    D.

     itemid


  19. Which of the following is the attribute that is used to add a name/value pair to a microdata item?

  20. A.

     itemscope

    B.

     itemref

    C.

     itemprop

    D.

     itemid