Welcome to WebmasterWorld Guest from 18.206.48.142

Forum Moderators: open

Message Too Old, No Replies

HTML Entity Codes

Code for #?

     
8:01 pm on Mar 5, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:May 20, 2003
posts:493
votes: 0


Is there an HTML entity code for the # symbol?

Jennifer

8:15 pm on Mar 5, 2006 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9074
votes: 6


You can use:
[b]#[/b]
which is the entity reference for # - see this ASCII reference chart [w3schools.com] for a full list.

However, as # is ASCII, why do you need to use the entity reference?

8:38 pm on Mar 5, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:May 20, 2003
posts:493
votes: 0


For a stupid reason. :p I finally got suckered into joining myspace and a title for a blog entry includes # but they convert that to a period. Unfortunately, # doesn't fix the problem, it's just displayed as #.

Jennifer

8:42 pm on Mar 5, 2006 (gmt 0)

New User

10+ Year Member

joined:Mar 5, 2006
posts:28
votes: 0


1)Myspace is crap
2)find a host

You shouldnt realy use these forums for myspace becuase you do not create your ownpages you use some page builder and you dont own myspace.

8:43 pm on Mar 5, 2006 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9074
votes: 6


Have you tried something like:

http://example.com/link[b]%23[/b]page-ref

Where "%23" is the escaped character for a # in a URI? That might work. :)

Note: you get the escaped value by converting the ASCII code to its Hex value, so # = 35 (ASCII) = %23 (HEX)

9:01 pm on Mar 5, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:May 20, 2003
posts:493
votes: 0


Agzl, your comments were completely worthless for me, so thanks. :)

encyclo, that didn't work either. I guess maybe it's just a security feature that they implemented to make sure # can't be used, does that make sense?

Jennifer

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members