Skip to content

Instantly share code, notes, and snippets.

@nimbupani
Created February 22, 2011 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nimbupani/838587 to your computer and use it in GitHub Desktop.
Save nimbupani/838587 to your computer and use it in GitHub Desktop.
Web Structure Three-Letter Acronyms
The following is a proposal for a standardized three-letter acronyms classnames system used for in web content structures.
doc, seg, sec
Document Elemental
------------------
doc = document
dpt = document part
dhd = document header
dft = document footer
Elemental
---------
abs = abstract
art = article
asd = aside
bnr = banner (possibly ban?)
ftr = footer
hdg = heading
hdr = header
img = image
nav = navigation
prt = part
seg = segment
Graveyard :P
------------
ttl = title
dsc = description
inn = in, inner
out = out, outer
lvl = level
tpl = template
Layout
------
col = column
lot = layout
row = row
Traversing
----------
chd = child, children
par = parent
sub = subordinate, subsidiary
sup = superior
Importance / Rank (experimental)
----------
pri = primary, principal
sec = secondary
ter = tertiary
qua = quaternary
qui = quinary
sen = senary
Two letter experimental
----------------------------------
pt1 (part 1), pt2, etc.
hd1 (heading 1), hd2, etc.
ch1 (child 1), ch2, etc.
lv1 (level 1), lv2, etc.
Ordering Acronyms
===================================
ITEM-RANK
Examples: doc-pri, nav-pri, nav-sub, nav-chi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment