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

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.

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.


    - tye        

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://498203]
[LanX]: when did you move to Utrecht, you used to live in a windmill on a dyke walking around in wooden shoes. ..
[LanX]: ... did you lie to me? OO
erix wouldn't mind a nice old windmill to live in... Mueller/Miller/ Molenaar
LanX likes Swedish clogs

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-12-15 16:48 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (439 votes). Check out past polls.