How do I show the brackets around a pre tag?

P4i6g / P4i65g
October 21, 2010 at 11:33:04
Specs: Windows XP Pro, Asrock 2.8GHz / 2 Gb
I'm creating a short set of instructions on how to use the pre tags. We get a lot of examples of data in the Office forum and very few members know how to use the tags to line up columns. I want to create something that can be pasted into a response.

I recall seeing a post where someone was explaining the pre tags and actually had the pre tags, with the brackets, in the body of the post.

I can get the opening tag to appear:

<pre>

but I can't get the closing tag, with the slash to appear.

What's the trick? Thanks!


See More: How do I show the brackets around a pre tag?

Report •

#1
October 21, 2010 at 12:15:03
Hey,

I think the easiest way is just to write it like [pre] [/pre] and tell the user to replace [ with < and ] with >

Justin


Report •

#2
October 21, 2010 at 12:17:00
However,

If you really want to do it, use the lt and gt entity tags:

<pre> test </pre>

Justin


Report •

#3
October 21, 2010 at 14:45:09
Sorry, but you're over my head with that one.

How do I use the lt & gt tags?

Nothing I've tried worked.



Report •

Related Solutions

#4
October 21, 2010 at 16:33:46
&gt; and &lt;

Careful, though, 'cause it'll be converted by the editor if you preview the post or edit it later.

How To Ask Questions The Smart Way


Report •

#5
October 21, 2010 at 17:38:01
Got it! Thanks!

I'll keep your caution in mind.


Report •

Ask Question