Lost Password?


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

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, 06:05 PM
Bodyag Bodyag is offline
Newbie
 
Join Date: Mar 2007
Location: Spain
Age: 24
Posts: 3
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, 03:04 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,478
Last Blog:
Joomla! And Incompeten...
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
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 Document</title>
</head>

<body>
</body>
</html>
You would have to do something like this:
Code:
<p>&lt;head&gt;<br>
  &lt;title&gt;Untitled Document&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, 11:04 AM
Deathcry's Avatar   
Deathcry Deathcry is offline
Learning Programmer
 
Join Date: Feb 2007
Posts: 69
Rep Power: 7
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, 10:58 AM
Chan Chan is offline
Programming Professional
 
Join Date: Jun 2006
Posts: 205
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, 10:38 AM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
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 Document&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
Forum Jump

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


All times are GMT -5. The time now is 07:16 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads