Captain Jack Posted October 6, 2006 Share Posted October 6, 2006 I had a text file, which contained some html code ( ahref code ). Example was: a href="xyz.com">Hello</a Now, i uploaded it to a website. But now, whenever i view it i simply get it as a link saying Hello I dont want it to happen. How do i make sure that the html codes do not get implemented while viewing these text files?? PS: ignore the bad link code, you can get an idea what i'm talking about Link to comment Share on other sites More sharing options...
0 Notum Posted October 6, 2006 Share Posted October 6, 2006 Use commenting: <!-- a href="xyz.com">Hello</a --> Link to comment Share on other sites More sharing options...
0 primexx Posted October 7, 2006 Share Posted October 7, 2006 use the code tag. <code><a href="xyz.com">Hello</a></code> Link to comment Share on other sites More sharing options...
Question
Captain Jack
I had a text file, which contained some html code ( ahref code ).
Example was:
a href="xyz.com">Hello</a
Now, i uploaded it to a website.
But now, whenever i view it i simply get it as a link saying Hello
I dont want it to happen. How do i make sure that the html codes do not get implemented while viewing these text files??
PS: ignore the bad link code, you can get an idea what i'm talking about
Link to comment
Share on other sites
2 answers to this question
Recommended Posts