Answers.Body: <p>MS Word lets you create HTML output, but it is very messy. There are several online tools for converting this "messy output" and some commercial tools as well. </p>
  
  <p>I have used the free tool wordoff with some success
  <a href="https://wordhtml.com/" rel="nofollow">https://wordhtml.com/</a> </p>
  
  <p>As an alternative, you can cut/paste the formatted text into an HTML editor online (wordpress, etc). Maybe you can paste it into a desktop HTML editor and see if the source view has the tags you need. Often that can clean up your code and leave the italic and bold tags. But you still have to do some extra cleaning after. </p>
  
  <p>You need to be more clear about why you need your source to be HTML. Is it going to be an epub file? Or some other format? </p>
  
  <p>Generally, I avoid trying to use HTML output from MS Word. It is very messy. It sometimes is just easier to just copy the text into a decent  html editor and insert the tags yourself. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-14T04:04:21.483Z
Answers.LastActivityDate: 2016-09-14T04:04:21.483Z
Answers.UserDisplayName: idiotprogrammer
Body: <p>Currently I working in publishing projects. I need to create a automated template in word document. For instance: italic word should have  tag surround the text. Please advise how to proceed?</p>
  
Tags: <epub>
Title: How to create markup template in word document?
UserDisplayName: ajai
ThreadText: # How to create markup template in word document?
  
  (Asked by: username_0 on 2016-09-11)
  
  Currently I working in publishing projects. I need to create a automated template in word document. For instance: italic word should have tag surround the text. Please advise how to proceed?
  
  **Tags:** epub
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-09-14. Score: 1
  
  MS Word lets you create HTML output, but it is very messy. There are several online tools for converting this "messy output" and some commercial tools as well.
  
  I have used the free tool wordoff with some success
  <https://wordhtml.com/>
  
  As an alternative, you can cut/paste the formatted text into an HTML editor online (wordpress, etc). Maybe you can paste it into a desktop HTML editor and see if the source view has the tags you need. Often that can clean up your code and leave the italic and bold tags. But you still have to do some extra cleaning after.
  
  You need to be more clear about why you need your source to be HTML. Is it going to be an epub file? Or some other format?
  
  Generally, I avoid trying to use HTML output from MS Word. It is very messy. It sometimes is just easier to just copy the text into a decent html editor and insert the tags yourself.
  
  
  ---
  
  