Article ID: 185036 - View products that this article applies to.
This article was previously published under Q185036
When you convert a single-spaced Microsoft Word document to Hypertext Markup Language (HTML) format, and view it in a Web browser, there are double-spaced lines between the paragraphs.
This behavior is by design of Microsoft Word. When converting a paragraph to HTML, Word places a <p> tag at the beginning of the line and a </p> tag at the end of the line. Web browsers display these tags as double-spaced lines between the paragraphs.
To prevent double spacing between paragraphs, use the appropriate method for your situation.
Method 1: Use Prior to Converting an Existing Document to HTML FormatPrior to saving your document in HTML format, change the paragraph marks to line breaks. To do this, follow these steps:
Method 2: Use After Converting the Document to HTML FormatIf you have already converted the document to HTML format, view the HTML codes and replace paragraph tags with line break tags. To do this, follow these steps:
Method 3: To create single space between paragraphs in a HTML documentTo create an HTML document with single-spaced lines between the paragraphs, press SHIFT+ENTER at the end of each paragraph. This is the keystroke for a manual line break. You can do this with a regular Word document or with an HTML Word document.
HTML code also uses a <br> to represent a line break. If a <br> is used instead of a <p>, the document will appear single-spaced.
Article ID: 185036 - Last Review: January 22, 2007 - Revision: 1.1
Contact us for more help
Connect with Answer Desk for expert help.