Page 1 of 1

HTML

Posted: 2006-02-25 08:51pm
by DesertFly
How do you quote html tags in an html document. I know you can do it in BBcode by using the [code] command, but how do you do it in HTML?

Posted: 2006-02-25 09:38pm
by Beowulf

Posted: 2006-02-25 09:38pm
by darthdavid
...Nope, was wrong about that. Tested it myself and it didn't work. How do you do it? :? Well I'll be following my own advice and looking trough my refrence page.
And for future refrence just use this.
It's what I use when I need to find a tag.

Posted: 2006-02-25 10:00pm
by DesertFly
I'm not stupid, I use this for reference, I just couldn't find the tag that did exactly what I needed, and I was in a hurry.

But thanks for your help.


P.S. Post 300!

Posted: 2006-02-25 10:17pm
by darthdavid
You could just add spaces between the < >s and the rest of the tag...

Posted: 2006-02-25 10:52pm
by Cyborg Stan
You mean the < and the > tags?

Posted: 2006-02-26 12:45am
by DesertFly
Cyborg Stan wrote:You mean the < and the > tags?
I tried using them, and for some reason they just came out as < and >.
darthdavid wrote:You could just add spaces between the < >s and the rest of the tag...
That's close to what I ended up doing. I put a few asteriks in strategic places and told my friend to just remove them. I didn't want to go with just spaces, since I was doing <a href>, and that needs the space.

Posted: 2006-02-26 09:44am
by phongn
You will need to replace all < > signs with the HTML entities that Cyborg Stan has done. If you are doing this on a message board and it is replacing them, it may be consuming and replacing the entities with their equivilant character in the database.