PDA

View Full Version : HTML code needed!



Jessweeee♪
11-24-2006, 04:06 AM
Can someone help me?
I need an HTML code that will make text invisible so I can label some things without it actually showing up on the page.

Meat Puppet
11-24-2006, 04:26 AM
Do you mean like... comments?

<tt><</tt><tt>!-- Comment goes here --></tt>

<!-- Comment goes here -->

Jessweeee♪
11-24-2006, 04:29 AM
hmm?
I don't understand your question. So the answer would probably be no.

rubah
11-24-2006, 04:40 AM
Way to turn down the answer you needed.

You put the angle bracket exclamation double dash before any text you want invisible, then have a double dash end angle bracket at the end. It's pretty much simple as that.

Jessweeee♪
11-24-2006, 04:45 AM
I was told to apologize to Meat Puppet.


I am sorry
Meat Puppet.

Oooookay. I see.
What's to become of my and my insignificant brain?
EDIT:
Okay I tried it and the text i typed and the closing bracket was visible. I checked the HTML page and the codes were closed off so that only a space was betweent them.

o_O
11-24-2006, 06:05 AM
What Meat Puppet suggested was a comment. They are only visible in the source of the page and the format is:

&lt;!-- text here doesn't appear on the page --&gt;

If you wanted to put some text on your page, but still have it invisible, you could use something like this:

&lt;span style="color: transparent; background: transparent;"&gt; Text here is transparent. &lt;span&gt;

But Meat Puppet's suggestion is obviously better.

Jessweeee♪
11-24-2006, 06:10 AM
Thanks a bunch everyone!