Modern Markup


Modern Markup is op dit moment nog in ontwikkeling. Er is daarom altijd een kans dat je op een fout stuit. In dat geval zouden we het erg op prijs stellen als je deze fout bij ons zou melden. Bij voorbaat dank.

COL element

Het COL element hoort thuis in het THEAD element of een COLGROUP element en stelt één of meerdere kolommen voor. Door het gebruik van dit element kan bijv. d.m.v. CSS de breedte van de kolom(men) die het COL element voortelt verandert worden.

Het is echter niet noodzakelijk om dit element te gebruiken. Dit element is enkel beschikbaar voor het geval dat je een tabel op een complexe manier wilt opmaken, dan bij complexe tabellen soms noodzakelijk is om deze goed leesbaar te maken.

De start tag is vereist. De eind tag is optioneel.

Dit element wordt ook besproken in het hoofdstuk Tabellen van de handleiding.

Voorbeeld van gebruik

<tabel summary="…">
 <thead>
  <col class="naam">
  <col class="gegevens" span="4">
 </thead>

 <tr>
  <th>Naam</th>
  <th>Straat</th>
  <th>Huisnummer</th>
  <th>Postcode</th>
  <th>Woonplaats</th>
 </tr>

 <!-- De gegevens van de tabel -->
</table>

Toegestane inhoud

EMPTY

Toegestane attributen

id, class, style, title, dir, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup, span, width, align, char, charoff, valign.


HTML elementen
A
ABBR
ACRONYM
ADDRESS
AREA
BASE
BDO
BIG
BLOCKQUOTE
BODY
BR
BUTTON
CAPTION
CITE
CODE
COL
COLGROUP
DD
DEL
DFN
DIV
DL
DT
EM
FIELDSET
FORM
HEAD
HR
HTML
I
IMG
INPUT
INS
KBD
LABEL
LEGEND
LI
LINK
MAP
META
NOSCRIPT
OBJECT
OL
OPTGROUP
OPTION
P
PARAM
PRE
Q
SAMP
SCRIPT
SELECT
SMALL
SPAN
STRONG
STYLE
SUB
SUP
TABLE
TBODY
TD
TEXTAREA
TFOOT
TH
THEAD
TITLE
TR
TT
UL
VAR