Sachindra
Sachindra

Reputation: 6969

what code is this?

<p style="margin-bottom: 0in;"><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4  (Win32)"><style type="text/css">   <!--        @page { size: 8.5in 11in; margin: 0.79in }      P { margin-bottom: 0.08in } --> </style> </meta></meta></p>

While copying text from some sites, this code got appended automatically. Can you please help me with what code is this??? will this affect the appearance of other text on the site?? why does this text gets appended???

Upvotes: 1

Views: 217

Answers (3)

Ed B
Ed B

Reputation: 6054

You can delete all this:

<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.4  (Win32)"><style type="text/css">   <!--        @page { size: 8.5in 11in; margin: 0.79in }      P { margin-bottom: 0.08in } --> </style> </meta></meta>

That html got appended because your editor thought it was html that belonged in the body tag.

Upvotes: 0

Abe Miessler
Abe Miessler

Reputation: 85036

If you are pasting into word you can use the method described here. Being slightly lazy I will sometimes paste it into notepad and then copy/paste it into what ever other document i need (which is ironically more work...) This also seems to remove formatting.

Upvotes: 1

SystematicFrank
SystematicFrank

Reputation: 17251

In many cases and depending on the program and operative system, whenever you copy a line of text from your browser, you also get some some format along it.

If you are using OpenOffice try pasting with the option "without format"

Upvotes: 3

Related Questions