Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-03-2006, 07:45 AM   #1
Beta Member
 
Demonader's Avatar
 
Join Date: Aug 2006
Posts: 1
Default How to show HTML codes on a webpage

How can I make HTML codes show up on a webpage in a browser?

I'm writing HTML in Notepad++... Any suggestions? I tried <pre>...</pre>, didn't seem to work.
__________________

Demonader is offline   Reply With Quote
Old 09-03-2006, 12:53 PM   #2
Baseband Member
 
Join Date: Jul 2006
Posts: 53
Default Re: How to show HTML codes on a webpage

You will have to use character codes to display the "<" and ">". These are &lt;, and &gt;, respectively. I think that should do the trick for you.
__________________

falcon1 is offline   Reply With Quote
Old 09-13-2006, 01:35 PM   #3
Solid State Member
 
reidikus's Avatar
 
Join Date: Sep 2006
Posts: 14
Default Re: How to show HTML codes on a webpage

That or put the <code> tags around the code you want to display.

EDIT, nevermind I don't think that will work for what you want to do. Try doing what post #2 said.
reidikus is offline   Reply With Quote
Old 09-16-2006, 09:38 PM   #4
Beta Member
 
75uk1's Avatar
 
Join Date: Sep 2006
Posts: 5
Default Re: How to show HTML codes on a webpage

Is there a code for #?
75uk1 is offline   Reply With Quote
Old 09-18-2006, 01:08 AM   #5
Baseband Member
 
Join Date: Jul 2006
Posts: 53
Default Re: How to show HTML codes on a webpage

There is a code for everything you can think of. Here: http://www.w3.org/MarkUp/html-spec/html-spec_13.html
falcon1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 06:42 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0