Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

For <h1>, I'd rather the message be "Don't use these" (as is noted at Perl Monks Approved HTML tags).

Note the red plus sign and lack of line number on the continuati­ons after wrapping is performed

Showing line numbers is not the default. For those fortunate enough to have a browser that supports soft hyphens (&shy;), "auto code wrapping" is a much nicer option and it doesn't produce any red plus signs (it can produce red hyphens but only when the wrapping happens in the middle of a long block of non-spaces).

(sometimes at unfortunat­e points, as seen in this instance.

There would likely be no "unfortunate point" when "auto code wrapping" is used but even for non-auto wrapping each user can pick their preferred line width so you shouldn't assert that the code will be wrapped at an "unfortunate" point in your specific example.

The main point for BR tags should probably also be "Don't use these". A note that </br> is a particulary bad idea might be warranted.

Update: By far the most common use of BR tags
is inappropriate.
So it seems more important to stress that
they not be used inappropriately
(to introduce line wraps within a paragraph --
I'm not sure why this is so commonly done).
Since examples were desired,
an example like Thanks,<br />Tye
would seem appropriate to me,
especially if it is noted that the use of BR tags
should be the exception and
normal paragraphs should be achieved via P tags.

- tye        

In reply to Re^2: Need examples for PerlMonks HTML Tags (suggestions) by tye
in thread Need examples for PerlMonks HTML Tags by repellent

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-10-04 17:16 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (18 votes). Check out past polls.