Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Probable Bug in PM while creating a node ( preview )!

by rnahi (Curate)
on Oct 07, 2005 at 13:20 UTC ( [id://498203]=note: print w/replies, xml ) Need Help??


in reply to Re: Probable Bug in PM while creating a node ( preview )!
in thread Probable Bug in PM while creating a node ( preview )!

You can use <pre> tags when you want to show something that should stay aligned (like a ascii table or a program's output) but it is not actually code.

The difference is that things in <code> tags are downloadable, while things in <pre> tags aren't.

Replies are listed 'Best First'.
Re^3: Probable Bug in PM while creating a node ( preview )! (--pre)
by tye (Sage) on Oct 07, 2005 at 14:08 UTC

    No, you shouldn't. Use of <pre> tags is tolerated for very narrow content. Perhaps one day, PerlMonks will make <pre> better than HTML intended, but, for now, it is best to just never use them here.

    Don't get hung up on the word "code". It can be quite useful to download output or other things. There are more differences between 'code' and 'pre' than whether or not 'download' is offered.

    And relax and let the viewer decide whether they want to see 'download' links for just a one-line item. If you don't want to see them, then fix your settings so you don't see them anywhere rather than using the problematic <pre> tag.

    Thanks.

    - tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://498203]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-29 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found