I suspect the horse may be dead from all this flogging, but here goes...
About those open-P and close-P tags:
Just about every note I have written here has a similar history:
-
Position at start of text area above my sig;
- type first 'para';
- type Enter-Enter;
- type next para;
... and either at this point or after hitting 'Preview', thinking 'Oh, tut!' and entering </p><p>between each para, then jumping to the top and putting in an initial <p>.
Now there are a couple or three places in this thread where venerable members of the Monastery have said words like (my apologies, I'm not au fait enough to do the linking trick) Just put a <p> at the beginning of every paragraph , and :
you just need <p> for paragraphs and <code>...</code> for code So I have had a little follow-on question: how strict/forgiving are the "PM HTML recommendations", specifically with regard to whether the closing tags are required? Update: I followed the recommendation in Markup in the Monastery to maximise my HTML 'error reporting', and that went some way to answering the question. It seems that:
- if I omit an initial <p> I am forgiven but the next </p> is, unsurprisingly, flagged;
- the Monastery markup does prefer writers to close paras with a proper </p> tag but tolerates those who don't use one.
So although I think I don't have the question I had when I started, I shall leave this post here as it may help others in a similar situation; and may act as a recommendation to turn on that HTML check in your Display Settings!
This signature will be ready by Christmas
-
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.
|