Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: <pre> vs. <code> tags

by naikonta (Curate)
on Apr 29, 2008 at 03:32 UTC ( [id://683399]=note: print w/replies, xml ) Need Help??


in reply to <pre> vs. <code> tags

There is some reason to keep the <pre> tags around and I think you just bring it up the good reasons for it. One feature distincts both tags is download link. With <code> tags, the part surrounded is downloadable.

With <code>

#!/usr/bin/perl use strict; use warnings; use DBI; # code following __END__

With <pre>

#!/usr/bin/perl

use strict;    # don't ever write
use warnings;  # without strictures
use DBI;

# code following
__END__

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-20 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found