Skip to main content
shrimpnewsinternational
Participant
Mar 10, 2021 7:45 PM UTC
Question

Word to Dreamweaver Problems

Hi, I'm using DW 21.1 on Mac' Big Sur OS.  I've always been able to copy and paste Word Files into DW with all their formatting, but now they are arriving as a little blank square that when clicked provides the following message: "Marked Invalid Because It Does Not Belong in the Tag Tha It's In.  Go The Code To Correct The Problem."

 

I looked at the code, but I'm not well versed in HTML and did not know what to do.  How can I correct this problem.

 

[MODERATOR REMOVED URL AND PHONE NUMBER]

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Nancy OShea
Community Expert
Community Expert
Mar 11, 2021 10:22 PM UTC

Did you run your code through the online validation service below?

https://validator.w3.org/

 

How many code errors and warnings were reported?

 

If you care to post a URL to your online website, we'll take a look at the code for you.

 

Translate
Nancy O'Shea— Product User & Community Expert
Jon Fritz
Community Expert
Community Expert
Mar 10, 2021 8:27 PM UTC

Sounds to me like there are special characters making the trip from Word into DW.

Rather than a straight Copy/Paste, try...

1. Copy the text from Word
2. Right-click in DW's Design View where you want to add your text and choose "Paste Special"
3. In the dialogue that comes up, choose the "Text with structure (paragraphs, lists, tables, etc)" radio button
4. Hit OK

That should stop Microsoft's garbage code from infecting your .html file.

Translate
Nancy OShea
Community Expert
Community Expert
Mar 10, 2021 8:31 PM UTC

But this speaks to a bigger problem.

"Marked Invalid Because It Does Not Belong in the Tag That It's In. Go To The Code To Correct The Problem."

 

 

Translate
Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
Mar 10, 2021 8:07 PM UTC

Bob,

It's time you learned how to work with code.  We can't fix coding errors for you.  That goes beyond the scope of what this product forum can provide.  Sorry. 

 

START HERE:

HTML Validation Service https://validator.w3.org/

CSS Validation Service https://jigsaw.w3.org/css-validator/

 

CODE RESOURCES:

- https://www.w3schools.com/html/
- https://www.w3schools.com/css/
- https://www.w3schools.com/js/

Please don't post personal information in this public forum.  This is NOT private email.  What you post here is visible to the entire Internet.

 

Thank you.

 

Translate
Nancy O'Shea— Product User & Community Expert