1
votes

I am copying some simple HTML from a my web browser (Chrome) into a Microsoft Word.

Basic example HTML such as this:

<h5>Example Title</h5>
<p>Some example body text</p>
<p class="Example Style">Some example body text</p>

MS Word is capable of picking up and automatically converting heading tags. However, when the para HTML tag is converted to MS Word, it comes out as an odd style, not the "Normal" style from the MS Word doc, and not the style that was in the HTML.

I am looking to cut and paste HTML into MS Word and get a desired MS Word style result, such as "Normal" or "Example Style"

1
This question is about using MS Word, not about programming, and doesn't belong on Stackoverflow.Stephen P
@StephenP - I am asking how to write HTML code that can be cut and paste into MS Word. I am seeking a code solution.fallen
Do you have a more realistic (but still small) example? If you're actually putting those <pre> tags around your content I would expect it to come out "odd".Stephen P
@StephenP - I am sorry ... it's my first SO question. I mis-used the format for code block, I thought the pre tags were needed. I have now fixed the example.fallen

1 Answers