HTML shown as text... 23:47 22 Oct 2003

I'm having a small problem! I need to put a line of HTML, including tags, into a paragraph of text. I need the code to show as text, exactly formatted, but not to actually perform it's function. Is this possible, or do I have to create a gif image containing the code to blend in with the surrounding text?

  Taran 00:11 23 Oct 2003

Most web editing programs will allow you to paste HTML code into a body of text and display it as such.

Have you tried it that way yet ?

Which web editor are you using ?

  Forum Editor 00:14 23 Oct 2003

you are using Net Objects Fusion. You should be able to include the text without any ill effects. 00:28 23 Oct 2003

I have made a help page using notepad. I got a few free web pages from an image host with no FTP or tools, just pasted it into their textbox. If you go here click here and click on 'Signatures' you will see that it would explain better if the exact code could be shown. (I need the actual HTML including tags, to show in the text).

  Forum Editor 07:09 23 Oct 2003

and explain to your users that they need to remove them before using the code. 09:06 23 Oct 2003

Didn't think of that. Too busy thinking of complicared solutions! Will try.

Cheers, Whiz... 00:50 24 Oct 2003

doesn't work in notepad. When I open the code in IE it still tries to access an image, and shows the red X in a box.

  Pesala 05:07 24 Oct 2003

Instead of angle brackets for tags like <FONT> use angle quotes like this: ?FONT?

That's ANSI 139 for left quote ? (‹)

and ANSI 155 for right quote ? (›)

Not too sure whether they will post correctly here. 00:02 25 Oct 2003

That sounds good, will give it a try.

Cheers, Whiz...

  Forum Editor 08:09 25 Oct 2003

use square brackets

[html code here]

That always works.

  harristweed 10:51 25 Oct 2003

Why not put the code in a table cell? Then it will display as you require. Tags and all!

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

AMD Ryzen news - release date, UK price, features and specifications

The 12 best apps for drawing and painting on your iPad

Mac power user tips and hidden tricks

Comment faire des captures d’écran sous Windows 10 ?