HTML & CSS
For exampl ...
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
For example you have write 10 spaces in your text between two words.
<p>Some Text</p>
How will the browser display it?
It will show text with 10 spaces between two words
It will remove 9 of the spaces between the words
It will remove 10 of the spaces between the words
It depends on browser
Explanation
Remember that browsers will always truncate spaces in HTML pages. If you write 10 spaces in your text, the browser will remove 9 of them. To add real spaces to your text, you can use the
character entity.
html
text
character
truncate
page
space
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
Related Content
Select HTML code that will display following text on page: <h3>I ...
What is the correct HTML for inserting a multi-line text input...
How to make a shadow for text in gray?...
Which CSS property defines the font size of a text?...
Which CSS property can set a font for a text to display?...
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
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...
What is the property clear: both?...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment