Recently in the Chatterbox I asked about using the DEL tag in my posts, rather than the currently accepted STRIKE tag. My reason for this is that the STRIKE tag has been deprecated in HTML 4.01, while the DEL tag does pretty much everything the STRIKE tag does, plus supply semantic meaning. tye asked for a list of the tags not currently supported by PM. I've made a list, but left out obvious tags like OBJECT and FRAME, which I feel do not need to be included.

This topic has been mentioned before by jonadab in his comment Re: Site HTML filtering, Phase II. However, jonadab only listed a few of the tags not currently supported by PM.

Tags Not Currently Supported

TagAttributes
ABBR lang, title
ACRONYM lang, title
ADDRESS n/a
CAPTION n/a
CITE n/a
COL span, width, align, valign
COLGROUP span, width, align, valign
DEL cite, datetime
DFN title
INS cite, datetime
KBD n/a
Q cite
SAMP title
TBODY align, valign
TFOOT align, valign
THEAD align, valign
VAR n/a

Additional Attributes

Some tags already supported by PM should also allow the following attributes.

TagAttributes
BLOCKQUOTE cite
TABLE summary, title

Conclusion

Hopefully the inclusion of the above tags and attributes will allow the monks here to create posts with greater semantic meaning if they so choose.

Thank you for your time.

Update: Fixed a spelling mistake with acronym.
Update II: Added readmore tags.

Replies are listed 'Best First'.
Re: Proposal: Adding to Approved HTML Tags
by ambrus (Abbot) on May 05, 2004 at 21:21 UTC

    Hey, I thought the DEL and INS tag wer available already in the posts.

    I agree with DEL, INS, and Q tags, those would be important and certainly pose no such problems as the A tag. As for the others, they do not seem as important for me, but they should be allowed in general.

Re: Proposal: Adding to Approved HTML Tags
by eXile (Priest) on May 05, 2004 at 23:49 UTC

    While your tags seem harmless to me, I think that with every addition of allowed tags, the chance of introducing bugs increases (more code, more bugs, even in trivial cases like this).

    In my opinion, this site is about content and not about markup, and for me the currently allowed tags are more than enough to express myself. I personally only use a few tags regularly (<code>,<p>,<ul>,<li>), so for me even decreasing the amount of allowed tags (with the goal of decreasing complexity) would be no problem.

    Revisions of nodes can easily be marked as such, with an 'update'-paragraph, as many people do.

      I can see your point, but from what I understand the allowed HTML tags are checked using a regular expression. Adding a few extra tags would obviously increase the complexity of the regex, but that in itself should not increase the complexity of the site as a whole. I would imagine the current code to fix up broken HTML is much more complex.

      The missing tags are obviously not all required, but I would like any semantic meaning behind the text to be allowed. No one would be forced to use the tags, but they would be there for those who want to impart extra metadata about their post.

      If nothing else, it would allow a monk to style various parts of a post with more ease.

        I can see your point as well (always nice in a discussion to understand each others points),

        the thing is that I believe in simplicity, as opposed to 'featuritis'. In my opinion your proposal is in the grey area inbetween.

        I don't agree that just adding a few tags won't increase complexity of this site:

        • Adding other features might become more complex, because you have to take into account more information. Can't think of an example right now, but I hope the scenario is clear
        • These tags might be exploitable in cross site scripting. For instance if the <del>-tag could be used to execute code on your computer, not allowing this tag would be better security-wise. Although the chances for this happening are very small, some browsers have a terrible track record in this field.

Re: Proposal: Adding to Approved HTML Tags
by ambrus (Abbot) on May 06, 2004 at 12:27 UTC

    Also I belive that the class attribute should be allowed for any item.

Re: Proposal: Adding to Approved HTML Tags
by calin (Deacon) on May 06, 2004 at 15:58 UTC

    Please add my favourites:

    <BLINK>

    and

    <MARQUEE>

    Note: Mozilla copes with <marquee><blink>Extra super combo FX!</marquee></blink> ! (don't try at home)

    cheers!

Re: Proposal: Adding to Approved HTML Tags
by Anonymous Monk on Oct 07, 2004 at 15:11 UTC
    1. Why is strike (HTML2) allowed, but s (HTML4) not?
    2. Why are purely presentational elements like i and big allowed, but the important semantic elements abbr acronym address cite dfn kbd q samp var and the universal attributes lang title are still not?
    3. What's the point of offering div and span without allowing the style attribute?
    4. How is posted bi-di text supposed to work without the element bdo and the universal attribute dir?
      Bi-di text is supposed to just plain work. AIUI, bdo is a kludge for when your data is backward, and if necessary, these characters:
      &#x202C;POP DIRECTIONAL FORMATTING &#x202D;LEFT-TO-RIGHT OVERRIDE &#x202E;RIGHT-TO-LEFT OVERRIDE
      can be used instead.

      Test:
      Normal: My name is יצחק בן אברהם, but I'm not the famous gentleman of that name.
      Reversed w/ override: My name is ‭םהרבא ןב קחצי‬, but I'm not the famous gentleman of that name.