Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by rnahi (Curate)
on Oct 07, 2005 at 13:20 UTC ( #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.


Comment on Re^2: Probable Bug in PM while creating a node ( preview )!
Select or Download Code
Re^3: Probable Bug in PM while creating a node ( preview )! (--pre)
by tye (Cardinal) 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
Node Status?
node history
Node Type: note [id://498203]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-11-21 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (104 votes), past polls