Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Special tags to display html code on the page

HTML

  • This topic is locked This topic is locked
4 replies to this topic

#1 Bodyag

Bodyag

    CC Lurker

  • Just Joined
  • Pip
  • 3 posts

Posted 10 March 2007 - 03:05 PM

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
  • 0

#2 John

John

    CC Mentor

  • Moderator
  • 4450 posts
  • Location:New York, NY

Posted 11 March 2007 - 11:04 AM

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

<head>
<title>Untitled Document</title>
</head>

<body>
</body>
</html>

You would have to do something like this:
<p><head><br>
  <title>Untitled Document</title><br>
  </head></p>
<p><body><br>
  </body><br>
  </html><br>
</p>

Pretty much this should get you started
< = <
> = >
" = "

  • 0

#3 Deathcry

Deathcry

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 67 posts

Posted 12 March 2007 - 07:04 AM

<pre>is what i use</pre>
  • 0
the code is with you

#4 Chan

Chan

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 202 posts

Posted 20 March 2007 - 06:58 AM

<pre> is easier but is it recommended?
  • 0

#5 xtraze

xtraze

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 872 posts

Posted 10 April 2007 - 06:38 AM

I prefer this if I really wanted to use HTML tags inside HTML.

<p><head><br>
<title>Untitled Document</title><br>
</head></p>
<p><body><br>
</body><br>
</html><br>
</p>


Use the Find and Replace tool in Notepad and you have your tag ready.
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download