Formatting Issues

Fix Yellow Blank Space After Saving a Word Document as HTML

Amos GikundaAmos Gikunda Nov 25, 2026 868 views

Question details

Remove yellow formatting from a blank paragraph area that appears after a Word document is saved as HTML.

Fix Yellow Blank Space After Saving a Word Document 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.
Before you start

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.

Solution 1Recommended

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.

1
Show paragraph marks

In Word, open the document and select Home > Show/Hide ¶ to display paragraph marks.

2
Select both marks

Select the paragraph mark at the end of the paragraph preceding the yellow space and the mark in the empty paragraph.

3
Clear the highlighting

On the Home tab, open the Text Highlight Color menu and select No Color.

4
Save and check the HTML

Choose File > Save As, select a Web Page or HTML format, and open the saved file in a browser to check the blank area.

Remove Highlighting From the Paragraph Marks
Why the color was hidden: Highlighting applied to a paragraph mark may not be visible in Word but can appear in the HTML output.
Free Microsoft Office alternative

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.

Edit paragraph formatting in WPS WriterCompatible with Microsoft Word DOC and DOCX filesFamiliar interface for a smoother move from Microsoft OfficeFree and lightweight office suite
microsoft office alternative - wps office

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.