Home » HTML » Html miscellaneous » Question
  1. Which element represents preformatted text?
    1. <pre>
    2. <dd>
    3. <dir>
    4. <main>
    5. None of these
Correct Option: A

Main content of document is specified by <menu> element. <dir> element is not supported in HTML5. It contains all directory titles. The <pre> element in HTML represents preformatted text. The text written inside <pre> element is presented exactly as written in HTML file. Text is typically rendered using non-proportional font. Whitespace inside the element is displayed as written. <dd> is used to describe a name in description list.



Your comments will be displayed only after manual approval.