We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
What tag?; To show other tags.
Topic Started: Dec 18 2005, 03:36 AM (525 Views)
Tom.
Member
[ *  *  *  * ]
I couldn't find the tag, but what tag do you use to show other tags when viewing a web page? let's say I was writing a manual on html, well i'd like to show tags.

Also, if I do recieve a tag from someone, does it also work with php? I'm still a little noobish, any help would be appreciated thanks.
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
For HTML:
Just replace the < with &lt, that should do it.
(I hope I can just go and post &lt here. :P )

For PHP:
Save the file as .phps and upload it to the server, then if you surf to it, you *should* see the code, highlighted and all. :)
Offline Profile Quote Post Goto Top
 
solinent
Member Avatar
Member
[ *  *  * ]
I'm not sure if it's valid, but the <code> tag might also work. But his ways is valid.
Offline Profile Quote Post Goto Top
 
Tom.
Member
[ *  *  *  * ]
Thank you both for your help. I also found other codes that do the same.

& # 60; represents: <
& # 62; represents: >

Note: Don't leave a space between any of the symbols.
Offline Profile Quote Post Goto Top
 
FearKiller
Member Avatar
www.drewscripts.com
[ *  *  *  *  * ]
<code> only makes it look good. HTML will still parse within <code> tags. I use &lt; for "<" and &gt; for ">" and place it within code tags to make it look pretty :)

Example:
Code:
 
<code>&lt;strong&gt;This text will be bold&lt;/strong&gt;</code>
Offline Profile Quote Post Goto Top
 
Tom.
Member
[ *  *  *  * ]
Thank you FearKiller, I couldn't find the opposite code to &lt
Offline Profile Quote Post Goto Top
 
thebiohazardclan
Member
[ *  * ]
search for acsii codes.
Offline Profile Quote Post Goto Top
 
Das
Member Avatar
Smells of rich mahogany
[ *  *  *  *  *  *  * ]
cirus89
December 18, 2005 11:01 PM
Thank you FearKiller, I couldn't find the opposite code to &lt

&gt
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply