Html miscellaneous


  1. Which tag is used for List items?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    li is for the list items. The list is indented by default by the browser. <li> is written inside <ol> element having opening <li> tag and closing </li> tag. Sometimes <ol> can also include type attribute which defines type of numbering. <ol> represents a ordered list where as <ul> is unordered list. A description list is specified by <dl> tag.


  1. For defining bookmarks in a page we use __________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    id attribute is used for defining bookmarks in a page. For linking to the bookmark we use href attribute. Target attribute is used to define where to open a linked document. <a> element is used to define a link.



  1. In HTML5 which element defines thematic change in the content?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    For thematic change in the content <hr> tag is used. It is also used to separate content or for defining a change in any HTML page. All the browsers like Internet Explorer, Firefox, Opera, Chrome, Safari supports this element.


  1. Metadata does not define _________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Metadata define character set, title of the document, links, styles, scripts and other meta information. E.g. <!doctype html> <html> <title> The Code </title> <meta charset= “UTF-8”> </head> <body>.



  1. Which element indicates about something which is no longer accurate?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    <s> indicates about something that is no longer relevant or accurate. It should also not to be deleted. The content of this element is displayed a line through the center. In older versions of HTML it had <u> element for the content to be underlined, but now it is no longer in use. Information about author or owner is provided by <address>. A text which has been inserted into a document is defined by a <ins>. <del> describes a text that has been deleted from a document.