Hide text within HTML?

16

I'll be completing a website soon for my university (in fact, it's mostly finished now other than some mild tweaking) and I'd like to add a hidden thank-you to some bloggers who helped, and the stack overflow community which was a huge help. Right now, I've got a text section which is hidden this way:

<font style="font-size:0px"> - text </font>

But I feel like there's probably a better way. Is there?

This question is tagged with html css

~ Asked on 2013-04-18 12:59:30

The Best Answer is


17

This will keep its space, but not show anything;

opacity: 0.0;

This will hide the object fully, plus its (reserved) space;

display: none;

~ Answered on 2013-04-18 13:01:07


14

<div style="display:none;">CREDITS_HERE</div>

~ Answered on 2013-04-18 13:01:16


Most Viewed Questions: