Help showing html tags

liunx

Guest
I am making a Local area network chat program in visual basic that uses a webpage to chow what has been typed. i need to have a script that will not have tags enbled, like to if someone wanted to use marquee for scrolling text all that would show up is <marquee> not the scrolling text. is there a tag that will just show simple text? <br />
<br />
thanks for all the help.<br />
Ben Manns<!--content-->If you're asking for advice in visual basic, then you should maybe rather post in a visual basic related forum than here. I don't know visual basic but as a tip, there's probably a function for replacing characters to others? Try replacing & to &amp;, < to &lt; and > to &gt;, and in that order, in all messages. I hope it helps.<!--content-->well, this is a web forum, not a vb forum. but to answer your question you will need to either display it in a textbox or write a functions that will convert < into &lt; ascii text, as Agent pointed out.<!--content-->for more help with using the character entities (ascii text) check this link out:<br />
<br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/html/html_entitiesref.asp">http://www.w3schools.com/html/html_entitiesref.asp</a><!-- m --><!--content-->
 
Back
Top