homenewslegalreferencedownloadfaqlinksabout
TRASHY (Tags Resized and Alternative Syntax for Html made by Yayo)

TRASHY reference guide



    index

General notes about aliases


Important!

     Only strict W3C HTML 4.01 is allowed by TRASHY. There is no support for transitional html.
Every character which is not a TRASHY alias or which leads to an incorrect strict html 4.01 tag sequence will be ignored by the function.

     Anyway, TRASHY also provide aliases for frame tags (FRAMESET, FRAME and NOFRAMES) and their own attributes.

     Keep in mind that the rules which follow are not strict rules but general rules, created to help you to learn TRASHY quickly.
This means that you could find somewhere 2-3 exceptions to these rules. I hope no one will blame me for this! :P

Tag aliases

     Tag aliases are all made by only 1 character.
They are divided in 3 groups:
  • headers
    The six header tags (H1, H2, H3, H4, H5 and H6) simply use the corresponding number as an alias.

  • meaning tags
    This is a group of 14 tags (used to assign a specific meaning to a block of text) which use some letters as aliases (also letters with accents and some sound/pronounce symbols, but not accents alone).
    They are ABBR, ACRONYM, ADDRESS, BLOCKQUOTE, CITE, CODE, DEL, DFN, EM, INS, KBD, Q, SAMP and VAR.

    These aliases are always and only uppercase.

  • normal
    This group covers all the remaining tags.
    Each one of these aliases are made by only one symbolic character
    (i.e. everything which is not a letter, a number or a specific sound/pronounce symbol; which means: punctuation symbols, brackets, accent characters, forward slash...).

Attribute aliases

     Attribute aliases are always lowercase letter sequences, between 1 and 3 characters long.

Most common attributes use the 1st char as an alias. When there are more attributes which start with the same letter, the most frequently used remains the 1st letter only, while all the others follow in these 2 ways (in order):
  • if the attribute name contains 2 or more words, than its alias is made with the 1st character of each word
    (example: onmouseover become omo).

  • otherwise, if the attribute name is a single word, or when a previous rule leads to a conflict, then the next consonant is added to the 1st character
    (example: label become lb)


     Remember that many different tags uses the same alias.
And this rule is also valid for attributes.

If you wonder about why this is, click here to read the explanation on the FAQ page.


This software and its documentation are licensed under the terms of the CC-GNU GPL license v.2! SourceForge.net LogoThis page is valid -//W3C//DTD HTML 4.01 Strict//EN!
This page uses valid CSS!
This site conforms to the W3C-WAI Web Content Accessibility Guidelines.
This site conforms to the US Government Section 508 Accessibility Guidelines.
All the pages of this website/documentation, as well as the TRASHY software itself, are released under the terms of the CC-GNU GPL license v.2.

End of page      -      TRASHY (C) 2005 yayo (Roberto Correzzola)