Recommendation for <xmp> or <listing>

Stephen Allen kru_tch-FFYn/CNdgSA at public.gmane.org
Wed Mar 24 20:30:24 UTC 2004


On Wed, Mar 24, 2004 at 03:08:23PM -0500 or thereabouts, William Park wrote:
> On Wed, Mar 24, 2004 at 02:44:13PM -0500, Alan Cohen wrote:
> > On Wed, 2004-03-24 at 13:00, William Park wrote:
> > > I need to include HTML/TeX/shell codes with '<' and '>' characters.
> > > But, <xmp> or <listing> have been deprecated in newer HTML specs.  So,
> > > what is the recommended solution?
> > 
> > I'm not sure I properly understand the question, but, the HTML code for
> > ">" is >
> > "<" is <
> 
> Clarification... I want reader to cut/paste code fragments both from
> rendered screen output and from the source file.
>     - If I use & < > escape sequences, then the source code is
>       mighty ugly.
>     - If I don't use the escape sequences, then it doesn't display
>       properly.
> 
> Unfortunately, <xmp> and <listing> longer exist in HTML specs.  I was
> hoping if someone had come across a solution. :-)

The 'pre' tag should do this. (Preformatted)
-- 
S.Allen
-------------------------------------------
barnyard  Wednesday Mar 24 2004 03:25:02 PM EST
-------------------------------------------
If something has not yet gone wrong then it would ultimately have been
beneficial for it to go wrong.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list