Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Special HTML Code for Curly Brackets 1

Status
Not open for further replies.

smidwap

Programmer
Nov 25, 2002
2
US
I am currently programming a script which needs some special html coding done. I need to be able to write curly brackets, { and }, on my web page without actually writing it in the source code. For example, you could write < as & lt; and > as & gt; (disregard the spaces between the &'s and the lt and gt, as I didn't want this page to interpret those as < and >). I would greatly appreciate and helpful tips or advice.

Thank you.
 
& # 1 2 5 ; = {

& # 1 2 3 ; = }

Please remove the spaces. DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
Hi smidwap and DeZiner,

For some reason this tek-tips site shows characters for all those that started with &amp;amp;

But if you type &amp;amp;#123; instead of &amp;#123; then you avoid that there will be html characters shown.

But do not preview the post, otherwise it shows fine in the preview and the actual post shows the html character.

Erik
<-- My sport: Boomerang throwing !!
!! Many Happy Returns !! -->
 
Thanks guys. I spent about three hours searching through various unicode character sites and finally found the unicode DeZiner was refering to. Thanks for the help! Now I can finally go along programming my script.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top