Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > HTML Programming

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites.

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-10-2007, 05:05 PM
Bodyag Bodyag is offline
Newbie
 
Join Date: Mar 2007
Location: Spain
Age: 24
Posts: 3
Credits: 0
Rep Power: 0
Bodyag is on a distinguished road
Default Special tags to display html code on the page

Hi all,

If anyone knows what tags should be used to display HTML tags with the text we write - in another word, the tags that can display other HTML tags in a browser?

Thank you in advance.

Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
  #2 (permalink)  
Old 03-11-2007, 02:04 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,237
Last Blog:
Passwords
Credits: 877
Rep Power: 20
John has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud of
Send a message via AIM to John Send a message via MSN to John
Default

You have to use the & things, to display something like this:

Code:
<head>
<title>Untitled Do***ent</title>
</head>

<body>
</body>
</html>
You would have to do something like this:
Code:
<p>&lt;head&gt;<br>
  &lt;title&gt;Untitled Do***ent&lt;/title&gt;<br>
  &lt;/head&gt;</p>
<p>&lt;body&gt;<br>
  &lt;/body&gt;<br>
  &lt;/html&gt;<br>
</p>
Pretty much this should get you started
Code:
&lt; = <
&gt; = >
&quot; = "
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 03-12-2007, 10:04 AM
Deathcry's Avatar   
Deathcry Deathcry is offline
Learning Programmer
 
Join Date: Feb 2007
Posts: 69
Credits: 0
Rep Power: 6
Deathcry is on a distinguished road
Default

<pre>is what i use</pre>
__________________
the code is with you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old 03-20-2007, 09:58 AM
Chan Chan is offline
Programming Professional
 
Join Date: Jun 2006
Posts: 204
Credits: 1
Rep Power: 10
Chan is on a distinguished road
Default

<pre> is easier but is it recommended?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old 04-10-2007, 09:38 AM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
Credits: 5
Rep Power: 0
xtraze is on a distinguished road
Send a message via MSN to xtraze Send a message via Skype™ to xtraze
Default

I prefer this if I really wanted to use HTML tags inside HTML.
Quote:
<p>&lt;head&gt;<br>
&lt;title&gt;Untitled Do***ent&lt;/title&gt;<br>
&lt;/head&gt;</p>
<p>&lt;body&gt;<br>
&lt;/body&gt;<br>
&lt;/html&gt;<br>
</p>
Use the Find and Replace tool in Notepad and you have your tag ready.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
About HTML Onur Tutorials 0 08-28-2007 06:13 PM
HTML Code in XML Chan JavaScript and CSS 1 07-27-2007 03:48 PM
Optional Closing Tags in HTML Bodyag HTML Programming 2 03-11-2007 01:20 PM
HTML Introduction clookid Tutorials 5 01-08-2007 09:43 PM


All times are GMT -5. The time now is 01:22 AM.

Contest Stats

Xav ........ 1322.18
MeTh0Dz|Reb0rn ........ 1053.7
morefood2001 ........ 879.43
John ........ 877.37
marwex89 ........ 869.98
WingedPanther ........ 830.24
Brandon W ........ 735.07
chili5 ........ 309.39
Steve.L ........ 239.84
dcs ........ 216.02

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 82%

Ads