-
Which element represents preformatted text?
-
- <pre>
- <dd>
- <dir>
- <main>
- 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.