HTML & CSS
What HTML ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
What HTML element will you use to display the text in a fixed-width font, and to preserves both spaces and line breaks?
<format>
<text>
<pre>
<code>
<p>
Explanation
Text in a <pre> element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks.
template
element
html
text
pre-formatted
width
format
fixed
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
Related Content
What is the correct HTML for inserting a multi-line text input...
Which CSS property defines the font size of a text?...
У яких пунктах містяться рядково-блокові елементи?...
Welche Optionen beinhalten Inline-Blockelemente?...
Which CSS property, specified for the element of the fixed width, it is possible...
H
TML & CSS
Quiz
Login to learn HTML & CSS
or
Read more about
HTML & CSS Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Keep exploring
HTML & CSS quizzes
How to make a shadow for text in gray?...
Which of the following is true about the pseudo-class ...
What is the difference between pseudo-elements :after and ...
What is the font-variant property for?...
Which color will word "text" has? <style> p{ ...
How to change the color of a link to blue when the cursor moves over i...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment