Forum Moderators: open

Message Too Old, No Replies

Displaying text

         

hrc85

11:08 am on Jul 25, 2004 (gmt 0)

10+ Year Member



Hi everyone!

I want to display a text on my web site. I also want to include links to other sites in this text. But I also want to separate HTML and text. I don't want to see this text among HTML or PHP tags.
How did you solve this problem (if it is a problem)?

fashezee

4:52 pm on Jul 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



text among HTML or PHP tags

All editors will show the text between tags. I do not know of any editor that will remove the text and display only tags; but its any interesting concept!

I would be more interested in showing just the text and focus on hiding the tags though!

tedster

5:02 pm on Jul 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello hrc85, and welcome to the forums.

I don't want to see this text among HTML or PHP tags.

Could you explain that a bit more?

If you mean you don't want to see the mark-up tags in a browser window, as long as you use valid mark-up you won't.

If you mean you want a small section of plain text to appear on the page, you can use the <pre></pre> tags around the text section, and it will display as pre-formatted text, usually in a fixed width font like Courier and with your line breaks reproduced.

But if you mean you don't want even to USE markup, then I'm confused. If you have no mark-up then you can't have functional links

hrc85

9:51 pm on Jul 25, 2004 (gmt 0)

10+ Year Member



Thanks for your answers.
Problem solved.