2022.2

Table Of Contents
images.Tablesusedinwebpagestopositionelementsmakethosepageslessaccessibletousers
withdisabilitiesandtoviewersusingsmallerdevices.
Inprint,Tablescanbeusedforbothpurposes.
HTMLelement:table
Whenyouaddelements,suchastext,imagesoratable,tothecontentofatemplate,youareactually
constructinganHTMLfile.ItispossibletoeditthesourceoftheHTMLfiledirectlyintheDesigner;see
"EditingHTML"onpage171.
TheHTMLtagofaTableis<table>.Tablesaredividedintotablerowswiththe<tr>tag.Tablerowsare
dividedintotabledatawiththe<td>tag.Atablerowcanalsobedividedintotableheadingswiththe
<th>tag.
Thetags<thead>,<tbody>and<tfoot>canbeusedtogrouptheheader,body,orfootercontentina
table,respectively.
ForinformationaboutHTMLtablesandalistofattributes,seehttps://www.w3schools.com/html/html_
tables.asp.
InsertingaTable
1. Onthetoolbar,clicktheInsert Tablebutton,oronthemenuselectInsert > Table > Standard.
2. EntertheTable'sdesiredattributes:
l
ID:auniqueidentifierfortheTable.IDsareusedtoaccesstheTablefromscriptsandas
CSSselectorsforstylerules.
l
Class:AclassidentifierfortheTable.Classescanbesharedbetweenelementsandare
usedtoaccesstheTablefromscriptsandasCSSselectorsforstylerules.
l
Thenumberofrowsfortheheader,bodyandfooteroftheTable.
l
Thenumberofcolumns
l
ThewidthoftheTable.
3. ChecktheoptionAbsolutetogivetheTableanabsoluteposition,orusetheLocationdrop-
downtoselectwheretoinserttheTable:
l
At cursor positioninsertsitwherethecursorislocatedinthetemplate.
l
Before elementinsertsitbeforetheHTMLelementinwhichthecursoriscurrentlyloc-
ated.Forexampleifthecursoriswithinaparagraph,theinsertionpointwillbebeforethe
<p>tag.*
Page 245