Html miscellaneous


  1. Which of the following defines a caption for a figure element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The figcaption element can be placed as the first or last child of the figure element. It defines a caption for a figure element. Caption in a table immediately after <table> tag can be given by <caption> tag. The <figure> tag provides section for illustration, diagrams, photos etc. A box else window is defined by <dialog> tag in HTML.


  1. Which of the following defines a part of text that might be formatted in a different direction from other text?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The additional details the user wants to know as per the demand is fulfilled by <details> tag. Content related to surroundings is given by <aside> tag. <bdi> element is useful when embedding user-generated content with an unknown directional. <article> is self defined independent content which contains data which can be anything including photos, videos, and other contents. It provides a section.



  1. A model group contains the names of the elements that a tag may enclose.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Most HTML and XHTML elements enclose content. If a content model is declared, it is enclosed within parentheses and known as a model group.


  1. The ______________ parameter identifies a character encoding, which is a method of converting a sequence of bytes into a sequence of characters.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Class is an attribute and can be used on any HTML element. Property of an element is defined by attribute. To display an HTML page correctly, a web browser must know the character set (character encoding) to use. @charset “UTF-8”; is a string.



  1. The __________ begins with a series of parameter entity definitions.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    SGML (Standard Generalized Markup Language) is a standard for how to specify a document markup language or tag set. XML and HTML are web markup language used to design and create web pages. The HTML DTD begins with a series of parameter entity definitions. A parameter entity definition defines a kind of macro that may be referenced and expanded elsewhere in the DTD. These macros may not appear in HTML documents, only in the DTD. Other types of macros, called character references, may be used in the text of an HTML document or within attribute values.