HTML shown as text...

  [DELETED] 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?

  [DELETED] 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.

  [DELETED] 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.

  [DELETED] 09:06 23 Oct 2003

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

Cheers, Whiz...

  [DELETED] 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.

  [DELETED] 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.

  [DELETED] 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.

  [DELETED] 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

Microsoft Surface Book 2 15in review

Illustrator Amy Grimes on how setting up her own eco-brand led to success with clients too

MacBook Pro keyboard issues and other problems

Test : l’enceinte connectée HomePod d’Apple