Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Viewing html source in Word 2007???

Jan 2, 2010 3:42AM PST

I just purchased Office Home & Student 2007 and am trying to use it to edit some HTML.

Can someone please advize how this is accomplished.
I cannot find the previous options under View that were available in prior versions of Word.
This is very frustrating...is there some way I can view and edit html code in Word 97?? Thanks for your help!

Discussion is locked

- Collapse -
Re: Word and html
Jan 2, 2010 4:00AM PST

Word can be used to make a html-page, but you shouldn't be interested in the html it makes, just accept that it works (although it's too big to be useful). Word isn't a html-editor. So better use a real html editor.

Kees

- Collapse -
Why would you say such a thing?
Feb 7, 2014 1:37AM PST

No editor is 100% fool proof and yes word is an HTML editor, which means you as a programmer will need or have a want to get to the source code to have it do as you wish.

You are correct that it is better to get an HTML editor but not every one has that option, especially if it is at work and they have full control over what you do. Not all managers know or respect the knowledge of having the correct tool to do your job. The why or his particular situation is not the concern of the bb, the how is.

Incidently, this feature was readily available in other versions of word. It WAS intended to allow people to edit the source directly. It is up to the manufacturer to put out products people want and not for us to conform to what they tell use to accept now.

His question is a very valid question and for those of us coming for an answer it is very disappointing to see your reply. Bekker004's answer was helpful and it proves that Word still have the option for those that need it to edit the source directly. So, please have more care in your responses.

If one can not answer the question, one should not post.

- Collapse -
I didn't find an answer in your post either.
Feb 7, 2014 1:39AM PST

Can you try again and take care to supply an answer?

-> But you did confirm something I have suspected for a while. Folk are starting to think that writing HTML takes a programmer. While I disagree I see a change in attitude or outlook where folk think such things.
Bob

- Collapse -
Workaround to view html source in Word 2007/2010
Jan 24, 2011 8:56PM PST

you will need to add a Web Page Preview button to the QAT (Quick Access Toolbar).

To do so, click the dropdown arrow beside the QAT and select More Commands. The Word Options dialog will open. In the Choose Commands From box, select Commands Not in the Ribbon. Select Web Page Preview from the list of commands, and then click the Add button.

When you use Web Page Preview, the document will open in your default web browser. You will then need to use your browser's method of viewing HTML code, rather than viewing it directly in Word. If you are using Internet Explorer, click View on the toolbar, and then click Source. A Notepad file will open with the HTML code you desire.