Microsoft Expression Studio
This chapter is from the book
- Q. Why can't I simply cut and paste the content from a Word document straight into my web page?
- A. A word processor, such as Microsoft Word, inserts a large amount of hidden style code in documents. When you copy and paste text from these programs, all that code quite literally tags along. One example of this is long quotes. When you press the Tab key in a word processor to visually distinguish a long quote by indenting it, you actually insert a block of style code defining how far in to indent the content. So, when you copy and paste the content to Expression Web 3, that style code follows along and clutters up the code. This indentation code is unnecessary in HTML because there is already a dedicated tag for long quotes called blockquote. There are many ways of getting around this problem. One is to use the Paste Text command found under Edit on the main menu. This command strips the style code from copied text and inserts it as plain text with only the tags you request. But this approach can cause a lot of confusion and extra work because it strips away all the style information and gives you only plain text. There is nothing technically wrong with cutting and pasting content from word processors to Expression Web 3, but it creates a lot of extra work.