This is a discussion on "Display link code in html page" within the Web Page Design section. This forum, and the thread "Display link code in html page are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Display link code in html page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Display link code in html page
Hi,
I was wondering how I might display this on a page without it actually creatimg the link? ie how is it printed in the code box below, not actually creating a link??
|
|
|
|
||||
|
Re: Display link code in html page
convert the html entities.
eg.
A small list can be found here http://www.w3schools.com/tags/ref_entities.asp
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
|||
|
Re: Display link code in html page
ahh of course, thank you!
|
|
|||
|
Re: Display link code in html page
thanks for helping me indirectly
|
|
||||
|
Re: Display link code in html page
Actually:
__________________
I've got <style> and .class
|
|
||||
|
Re: Display link code in html page
This tools converts it for you automatically ( JackFranklin found it ).
http://www.simplebits.com/cgi-bin/si...l?mode=process
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
||||
|
Re: Display link code in html page
Isnt there also a PHP function for this sort of stuff? I cant remember it now when i come to think of it!
eg. It would convert < to < and so on! |
|
||||
|
Re: Display link code in html page
Preg Replace would be the function no?
__________________
I've got <style> and .class
|
|
||||
|
Re: Display link code in html page
|
|
||||
|
Re: Display link code in html page
Use this to take html code and chuck in the < etc
http://www.simplebits.com/cgi-bin/si...l?mode=process
__________________
Resources Administrator
Grilling Gurus - Interviews with the Best Web Designers and Developers in the Industry Got a Question for Ryan Carson and his Web Design/Development team Carsonified? Jack Franklin - My Blog (It's a Pen in My Mouth BTW)
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
|
|
||||
|
Re: Display link code in html page
Quote:
Yep, alex has already said this Karinne thats the one! |
|
||||
|
Re: Display link code in html page
Yes, I used htmlentities for form inputs to stop people executing malicious scripts,
but this is another use for it!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is there a html code to make a page a certain size | allstar | Web Page Design | 4 | May 5th, 2008 20:25 |
| Pointing a link to dir instead of html page | plato | Starting Out | 2 | Aug 20th, 2007 21:04 |
| html code for link? | cj550 | Web Page Design | 2 | Mar 30th, 2007 16:03 |
| How to link HTML page to CSS file | winwin | Web Page Design | 18 | Dec 21st, 2006 09:46 |
| Access a HTML InputBox through the Code-Page | bwalker | ASP.NET Forum | 5 | Nov 10th, 2005 12:58 |