Html miscellaneous


  1. __________ is the XML equivalent to strict HTML 4.01.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    XML is a markup language while XHTML is a extensible hypertext markup language. XHTML 1.0 Strict is the XML equivalent to strict HTML 4.01, and includes elements and attributes that have not been marked deprecated in the HTML 4.01 specification.


  1. According to the rules of XML and XHTML, all elements must be closed either with an end tag or by self-closing with space, slash, and a right-pointing angle bracket.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    XML and XHTML are markup languages used for creating web pages. XHTML is case sensitive, and thus they must be closed either an end tag or by self-closing with a space, slash, and a right pointing angle bracket. Ex) <p></p> is paragraph tag closed with ending tag. <br/> is break tag whose closing is done either by a slash or right pointing angle bracket.



  1. Which of the following statement is not true?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    XHTML is a markup language. There are certain terms and conditions (rules and regulations) for it. There are as: 1) In XHTML, the DOCTYPE is compulsory, 2) Xmlns attribute in <html> in manndatory, 3) The basic building blocks of markup i.e. <html>, <head>, <title>, and <body> are must in one. 4) Last but not least, XHTML is case sensitive where as HTML is case in-sensitive.


  1. Which tag is not used if you want to indicate the importance of the phrase?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Tags like <h1> (including all headings from h1 to h6), <em> and <strong> can be used to indicate the importance of the phrase. The <i> is none other than a type of font displaced in italic bond by the browsers.



  1. Which tag is used if you want to highlight something that is important to the reader?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The <b> tag is used to make the text bold. The <strong> tag is used to highlight the importance of text. The <em> tag is emphasis tag and is displayed in italic by browser. <i> tag is used to write text in italic font.