non-compliant with OP's suggestion, in that it uses class "obscure" rather than "black" (This is in keeping with using class_names which describe their purpose rather than their action as advocated by some 'separate content from rendering' gurus (tho I'm not sure I buy it. cf, for example, the oft-repeated perl advice to "use meanful $var names." Yeah, "purpose" could eq "meaningful" but in some instances could lead to the likes of use vars qw( $kill1 $kill2 $kill3... instead of ($kill_print $kill_sys $kill_whatever... so WTH!)

<p style="color: black; background-color: black;">A B C D E</p>

The monastery did not like the attempted-css-demo above when it was in actual paragraph tags, but saving the html below (<!DOCTYPE... etc, omitted) will allow you to view its operation.
typo above cq'ed: s/)with/) will/

<html> <head> <style type="text/css"> <!-- .obscure { color: black; background-color: #000000; } --> </style> </head> <body> <p class="obscure">abcde</p> <p>View the chars the blackbox above, by highlighting. Done without +tables. &lt;/p> </body> </html>

In reply to Re: black tags by ww
in thread black tags by cog

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.