How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 54 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 111,811 times.
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.Advertisement
Community Q&A
- QuestionHow do I do it on iFunny?Swayam88Community AnswerIt's not possible to make stuff invisible on the web page directly, but you can do so by changing the CSS code of a web page to white. Check out the Inspect Element menu for more details.
Tips
- This method can also be used to fill spaces in tables when other methods won't work.Thanks
- 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.Thanks
- 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).Thanks
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.Thanks
- 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.Thanks
- 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.Thanks
- 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.Thanks
References
- December- HTML hex code page
Is this article up to date?
⚠️ Disclaimer:
Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.
- - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
- - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
- - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
- - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.