Click to See Complete Forum and Search --> : how to display hyperlink as code?


gavacho
04-25-2004, 03:06 PM
I am trying to provide an example of how to write the code for a hyperlink. How can I get it to appear as code rather than a hyperlink in the browser? Is there some html tag that would accomplish this? Does anyone know an easy way to do it?

fredmv
04-25-2004, 03:10 PM
Welcome to the forums.

You might consider trying SimpleCode (http://wootest.net/simplecode.htm). Essentially, it does all the work you'd usually have to do by replacing common characters used in code with their HTML entity counterparts.

Nedals
04-25-2004, 03:11 PM
I think you want this

<a href="url.com">

Ben Rogers
04-25-2004, 03:55 PM
SimpleCode seems like a good tool, I'd use it, but just so you know what it does is change lesser than and greater than symbols, which are used to define (X)HTML markup, and change them into their respective entities, < and >,

gavacho
04-25-2004, 04:31 PM
That works! Thanks people.