Cleaning texts

Here’s a piece of advice on how to "clean" your texts.

Oftentimes, the text you want to add to your website comes from somewhere else, like Word or some other software, or maybe even another website (NOTE! remember that data may be protected by copyright). When you copy a text, you also copy the background which contains a lot of hidden codes. These codes define the typeface, size and color of the text. Only a small portion of all the underlying code is copied with the text, but it can cause havoc and ruin your work when you insert it in your website. It is designed for a completely different environment than your website. Therefore, my advice is that you delete the underlying code before you paste the text in your website.


How do I clean text?

The easiest way to delete all underlying code, and clean your text, is to paste the text in a TXT file first. My advice is that you always have this TXT file Notepad.txt on your desktop so you can quickly find it when you need to clean data.

Step-by-step instructions are given here below. It looks more complicated than it is. You will notice after a while that it really is very easy and convenient.

  1. Copy the text you want to add to your website.
  2. Paste it in a blank TXT file (Notepad.txt).
  3. Copy the text in the TXT file.
  4. Paste the text in your website.

To make the process even easier, use these excellent shortcuts.

  Ctrl-A   Select all
  Ctrl-C   Copy selected text
  Ctrl-V   Paste the text that was copied


If you combine the above instructions with these shortcuts, you will see that it takes no time at all to clean the data before pasting it in your website.

Select the text you want to use, Ctrl-C (to copy), open a blank TXT file, Ctrl-V (to paste), Ctrl-A (to select everything in the TXT file), Ctrl-C (to copy it again, but now as plain data), go to your website and press Ctrl-V (to paste in the plain data).

Now you have the text in your website without any underlying codes that could have caused a problem.