Fix Yellow Blank Space After Saving a Word Document as HTML
Question details
Remove yellow formatting from a blank paragraph area that appears after a Word document is saved as HTML.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A user saves a Word document as an HTML web page and wants blank spaces to retain their intended appearance.
- Observed behavior
- A blank line or paragraph area appears yellow in the HTML output, although the highlighting may not be visible in Word.
Open the original document in Word and locate the blank area that turns yellow in the HTML output. Turn on paragraph marks so you can select the formatting attached to them.
Remove Highlighting From the Paragraph Marks
Use this method when a blank paragraph appears yellow in HTML because its paragraph mark may have hidden highlighting.
In Word, open the document and select Home > Show/Hide ¶ to display paragraph marks.
Select the paragraph mark at the end of the paragraph preceding the yellow space and the mark in the empty paragraph.
On the Home tab, open the Text Highlight Color menu and select No Color.
Choose File > Save As, select a Web Page or HTML format, and open the saved file in a browser to check the blank area.

Use Paragraph Spacing Instead of Empty Paragraphs
Use paragraph spacing to create gaps without relying on empty paragraphs that can carry unwanted formatting.
Edit Word Documents With WPS Writer
WPS Office is a free, lightweight alternative for working with documents in a familiar interface. Open Word files in WPS Writer to make the transition from Microsoft Office easier; it does not fix Word's HTML conversion behavior.

Frequently Asked Questions
Why does a blank paragraph turn yellow in the HTML file?
A paragraph mark may have yellow highlighting that is not visible in Word but appears when the document is converted to HTML. Select the affected paragraph marks and use Home > Text Highlight Color > No Color.
How can I see paragraph marks in Word?
On the Home tab, select Show/Hide ¶. This displays paragraph marks and other formatting symbols so you can locate the empty paragraph.
How do I add space without inserting a blank paragraph?
Click the paragraph, open the Paragraph dialog from the Home tab, and adjust the Before or After spacing. You can also define spacing in a paragraph style.
What should I do after removing the highlighting?
Use File > Save As to save the document again in a Web Page or HTML format, then open the saved file in a browser to check whether the yellow space is gone.




