Make Text Invisible on a Web Page
Making the text the same color as the background on a webpage, you can insert secret messages in so-called "invisible ink." Now you can use this on your webpage. Highlight the space in front of this sentence to reveal the hidden message.( This is what it will be like! )
Steps
- Write the message in your web editor (or in the HTML code directly).
- Insert the following code right before your secret message, replacing the word "white" with the background color of your webpage (e.g. "blue" or "black" or "red" etc.):
<span style="color: white; background:white;>
- Insert the following code right after your secret message:
</span>
- Save your changes.
- View the webpage.
- Remember that you can just use the following, if you want only one person to read it like an email
- Set the color of the background
- Send it to a friend! They'll then highlight it, & see your message. It's a perfect way to share secrets on e-mail or IM.
Tips
- This method can also be used to fill spaces in tables when other methods won't work.
- This works great for emails for sending hidden text when the receiving an use an HTML hex color guide (see external links below) to find the color that best matches your page.
- This trick is useful, for example, to write spoilers so people that doesn't want to read it wouldn't read it (add a spoiler warning, otherwise unsuspecting people might read it and get spoiled).
- You can also use this on most forums with the bbCode equivalent of [COLOR=white] and [/COLOR] #C0C0C0, red is #FF0000 - full chart in external links).
Warnings
- If you apply this trick to raise your search engine rankings, search engines will penalize your page by not indexing it, and may drop your entire site lower in the results.
- Do not type like this all the time on Internet forums! People may find it annoying, and you may get banned if it annoys the admins.
- This will obviously not work if the page background is not the same color as the secret text or if the background is an image.
- This trick is probably inadvisable for communicating genuinely secret or sensitive information, as is very easy to intercept, even if one isn't even really looking for it.
Related Articles
Sources and Citations
- December- HTML hex code page