http://www.perlmonks.org?node_id=1089152

Why do we allow <h1> tags at all?

See Unlink not deleting, Threading issue? again...

The board rules discourage using them¹, but we could either

I'm fully aware ofmy freedom to adjust my personal CSS in the settings and share them here...

But do we really need the resulting discussion after someone misbehaved again?

UPDATE

To give all of this a more productive turn...

Any CSS-suggestions for H1..H3?

Such that they are

Cheers Rolf

(addicted to the Perl Programming Language)

footnotes

¹) Heading tags, <h3>...</h3>, and smaller (through <h6>) may be used

update

just noticed that H3 is still accepted here, so please rethink the ranges I suggested

Replies are listed 'Best First'.
Re: headline tags?
by ww (Archbishop) on Jun 07, 2014 at 19:07 UTC

    As you noted, but for the record and for emphasis, Markup's discussion of headline tags includes the statement "Please note that <h1> and <h2>are discouraged here.</i>."

    Failure to honor that guidance does NOT, IMO, amount to a case in which "someone misbehaved again...." where my understanding of the connotations of this usage of "misbehaved" include "deliberately flouted the rules." I suspect this is more like the case of the AM or noob who ignores the guidance re para tags posted (even more prominently) at our text-entry box.

    As to the merits of disabling <h1>, 2 & 3 -- my $0.02 worth is that even if use were regarded as a mortal sin, felonious mis-formatting, or some other semi-egregious violation of the Monastery's generally accepted conventions.

    Take a node that's been posted in ALL-CAPS as a parallel (a sorta' weak onethough because (IME) the whole internet community pretty much subscribes to the notion that doing so is rude ('shouting!'). That happens here at least as often as the use of the larger headline tags but we probably can't cure the problem by disabling upper-case letters... and its probably not worth the trouble to build a filter that will correctly revise an all-caps node.

    And finally, you've already mentioned what seems a reasonable solution: let those who chose use CSS to specify rendering a headline tags at less-than-pure-html size but add no needless complications for pmdevs nor any new Monastic mysteries for those who don't share your objection to the current rendering, or who (were we to adopt the option of site-wide css modification of h1 and h2 tags) wouldn't understand why theirs came out so small.


    From me, you got an upvote -- for seeking to improve the Monastery -- but I do disagree.


    Quis custodiet ipsos custodes. Juvenal, Satires

Re: headline tags? (private settings)
by LanX (Saint) on Jun 08, 2014 at 17:27 UTC
    > To give all of this a more productive turn...

    > Any CSS-suggestions for H1..H3?

    FWIW

    these are my styles now in Display Settings.

    h1 { font-size: 1.3em; color: #800000; } h2 { font-size: 1.2em; color: #800000;} h3 { font-size: 1.15em; } h4 { font-size: 1em; } h5 { font-size: .95em; } h6 { font-size: .9em; }

    Not perfect but a start (margins etc are missing¹).

    Though good enough to easily read posts on my mobile.

    Thanks to the dark-red color I can easily identify <h2> in posts like How (Not) To Ask A Question.

    YMMV! :)

    You are free to suggest improvements.

    Cheers Rolf

    (addicted to the Perl Programming Language)

    ¹) well I'm not a designer ( yes, excellent sperm count :)

Re: headline tags?
by Anonymous Monk on Jun 08, 2014 at 09:09 UTC

    Why do we allow <h1> tags at all?

    So that they can be used :) like for headings and such

Re: headline tags?
by sundialsvc4 (Abbot) on Jun 08, 2014 at 11:38 UTC

    Posts here are used for a lot of purposes, including articles and papers which might indeed require markup.   Yes, sometimes those are used to “shout.”   But that alone doesn’t justify getting rid of the facility.   Perhaps some of the tags are a bit too large, take up a bit too much screen-space and so on, but that is aesthetics.   Some of the “threads” that get posted here are, effectively, publications.

Re: headline tags?
by sundialsvc4 (Abbot) on Jun 12, 2014 at 13:30 UTC

    I don’t have any specific suggestions other than they probably should be only slightly-larger than the normal font that is used on the site, and with less vertical margin space.   Variations in boldness, italic, serifs and so-on can be used to vary the tags without burning-up column inches.

    h1

    ... on my computer, when used in-line as was done here, creates a 3/4" gap (yes, I measured it) in the text flow.   The character itself is 1/4" high, and there is a like-sized gap both above and below it.   The markup for what is shown here is this:   <h1>h1</h1> ... on my computer ...

    On the one hand, that’s probably pretty-good markup for a document heading.   But, particularly on a small screen, that is a lot of real-estate being consumed gratuitously.