Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

You are correct, within the context of the conditions in your initial clause; in fact, one of my (test) browsers renders <i>...</i> text in boldface, pointing up the fact that Gavin's reply below is a more precise characterization.

For reference, however, this, from w3c (at http://www.w3.org/TR/html401/present/graphics.html#h-15.2.1):

Rendering of font style elements depends on the user agent. The following is an informative description only.

TT: Renders as teletype or monospaced text.
I: Renders as italic text style.
B: Renders as bold text style.
BIG: Renders text in a "large" font.
SMALL: Renders text in a "small" font.
STRIKE and S: Deprecated. Render strike-through style text.
U: Deprecated. Renders underlined text.
(Emphasis in original; the draft .html 5 language is different.)

You will notice that w3c deprecates the last two, whereas PM does NOT (though I suspect you will find a consensus here against the use of U). Further, since you mention CSS, the word "style" in the w3c statement is NOT a reference to CSS.

And -- at this time -- the specialized sub- and super-set of .html 4.01 used in the Monastery does NOT accept .css entered in an input box.

To demonstrate:

<p style="font-style: italic;">This will NOT render as italic.</p>

This will NOT render as italic.

In fact, if you have "enforce" turned on and "reporting" set high in Display Settings (see above), you will see the second <p style="font-style: italic;"> highlighted (in my case, in a light grey) as non-conformant.

Of course, you can impose your own preferences on rendering by supplying .css in your personal style-sheet, but there's no assurance that other readers will have it rendered as you do.


In reply to Re^2: RFC: Monastery Markup Introduction by ww
in thread RFC: Monastery Markup Introduction by ww

Title:
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 How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-03-28 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found