Html miscellaneous


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











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The extra information about an element is specified by title tag. The information is most often shown as a tooltip text when the mouse moves over the element. List of directory files is given by dir tag which is not supported in HTML5. Tooltip or else infotip is a graphical user interface of an element. Container of metadata is called head.


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











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Style attribute specifies an inline style for an element. The style attribute will override any style set globally, e.g. styles specified in the style tag or in an external style sheet. A self-contained content is called attribute. Class is a name given to HTML elements which can be used by CSS and JavaScript for styling the web pages. List of directory files is given by dir tag which is not supported in HTML5.



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











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    HTML is Hyper Text Markup Language which is used to create web pages and applications. The id attribute is most used to point to a style in a style sheet, and by JavaScript (via the HTML DOM) to manipulate the element with the specific id. Class is a name given to HTML elements which can be used by CSS and JavaScript for styling the web pages. A self-contained content is called attribute.


  1. Which one is not a very good developer support?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Firefox, Chrome and Opera are the very good browser in terms of developer support. They have various built-in tools for the interaction of client-side and resources. It is also very helpful for security purposes.



  1. Which of the following is not the event of WebSocket API?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    There are four WebSocket API, Close, Message, Error and Open. We can implement these events by using functions like onmessage, onopen, onerror, addEventListener and onclose. When there is an end of communication between client and server then onclose method is called.