answersLogoWhite

0


Best Answer

To display text in the same manner as it is entered into the HTML code, we use the pre-formatted tag, <pre></pre>. Text within the tag will not have its whitespace stripped, unlike other HTML data.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

In HTML, whitespace beyond the first space has no meaning. This means that whitespace inside of an HTML document can be used to hint at the structure of the document. For instance, it is best practice to indent nested elements at each level.

See the related link for a thorough explanation of how whitespace is used to convey meaning to HTML coders. (Note: no example is provided here because of limitations in the Answers system.)

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

use&nbsp;without tags.Insert as much as u want.(you can use series of it). But try to avoid it,some browsers dose not support it.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

To create an extra space character in HTML text, we use the HTML entity   (Non-breaking space.) You can string them together to your heart's content.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which tag is used to retain the spacing of text?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What XHTML tag is used to indent a paragraph of text?

To indent a paragraph of text using XHTML, simply enclose the paragraph in an opening and closing &lt;blockquote&gt; tag. the &lt;blockquote&gt; tag is used for quoted text, not for indenting text. If you want to indent text you need to use the text-indent with CSS.


What typically displays text as bold and center aligned?

The &lt;B&gt; &lt;/B&gt; tag is used to display text in Bold &lt;Center&gt; &lt;/Center&gt; tag is used to center align text.


What are the names of 3 tags for HTML and what do they do?

The paragraph tag, Text, is used to set off blocks of text as paragraphs.The anchor tag, Text, is used to create hyperlinks from a document to another resource.The canvas tag, creates an element that can be drawn on using JavaScript.


What tag is used to center text on a page?

CENTER


How can you update the style associated with text you have modified?

You can always add the style to the text you modified. The style tag can be used with any independent tag.


Which tag used to add lengthy text in webpage?

A text area can be used to add lengthy text in a webpage It contains a big text block for user input.


Which tag is used to scroll text in an HTML webpage?

You don't need to use a tag - scrollbars will automatically be added at the side of the page if the text is long enough.


What is the use of CENTER TAG in HTML?

The &lt;Center&gt; tag is used to center the text that follows the tag on the web page. All the text that is typed between the &lt;Center&gt; and &lt;/Center&gt; tags will be centered and displayed on screen.


What tag is used to bold text?

You can use &lt;b&gt; and &lt;/b&gt; tags to do it.


What is the code to add a link on your webpage?

You can do it with HTML. The tag used is the A tag, which is the Anchor tag. The href attribute is used to specify the site you are linking to. Between the opening and closing tag, you would enter the text you want as the text to be clicked on. To link to Google you would do this: &lt;A href=www.google.com&gt;Go to Google&lt;/A&gt;


What can bold style text be used to indicate?

Yes, bold is an HTML text feature. You use the &lt;b&gt; tag to display bold text.


What does the Strong Tag do?

The Tag The text between these tags will be strongThe strong tag is another way to end up with bold text.