nilawar
December 6th, 2000, 01:47 PM
How do I display HTML code inside a page I mean how do I display some HTML example code inside a ASP page?
|
Click to See Complete Forum and Search --> : Display problem in ASP nilawar December 6th, 2000, 01:47 PM How do I display HTML code inside a page I mean how do I display some HTML example code inside a ASP page? ntbutic December 20th, 2000, 08:10 PM The simplest way is to place a "TextArea" HTML control on your page and put the HTML text directly in it. Visual C++ developer,ASP developer,Javascript (client side),VBscripting (server side),SQL-Server,IIS administration Doug Porter March 3rd, 2001, 06:35 AM To display html markup on your webpage, instead of using the symbols around the HTML tags, use the < and > instead. This will appear as a but not be interpreted by the browser, just displayed. Doug Porter http://www.dougporter.com Srikanth_hlp March 5th, 2001, 04:57 PM set the contenttype property to text/plain for a page in which u put the sample html codes and include that page in ur main page - Srikanth peter eijvergård March 28th, 2001, 08:10 AM You could use the HTML anchor with the usual closing /xmp> . This is the old fashion way of displaying example code and works fine in virtually all types of browsers including textbased. Good luck! codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |