English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need to display the code for a web banner. I have tried a few things but I can't get the code to just display as text. Any ideas on how to make the html inactive? also this is on myspace.

2006-08-15 11:21:52 · 6 answers · asked by Anonymous in Computers & Internet Internet

6 answers

You cannot make HTML inactive in a web page. What you have to do is change the < and > characters to & l t and & g t remove the spaces.

2006-08-15 11:29:04 · answer #1 · answered by AnalProgrammer 7 · 0 0

You can create a text box for the code, that way people can copy it properly too.

2006-08-15 18:28:39 · answer #2 · answered by Anonymous · 0 0

Try using the

 tag to indicated preformatted text.

Put
 at the beginning of your HTML, and 
at the end.

2006-08-15 18:28:19 · answer #3 · answered by Anonymous · 0 0

Post the code here so I can help.

2006-08-15 18:26:49 · answer #4 · answered by Not a happy bunny 4 · 0 0

use this html tags...

 whatever... 
or
whatever to display html code as text

2006-08-15 18:31:58 · answer #5 · answered by Mario162 4 · 0 0

Replace every instance of < by < and every > by >

2006-08-15 18:29:39 · answer #6 · answered by Andy T 7 · 0 0

fedest.com, questions and answers