Presentation is loading. Please wait.

Presentation is loading. Please wait.

Technologies for web publishing Ing. Václav Freylich Lecture 3.

Similar presentations


Presentation on theme: "Technologies for web publishing Ing. Václav Freylich Lecture 3."— Presentation transcript:

1 Technologies for web publishing Ing. Václav Freylich Lecture 3

2 aTNPW1 - 3 Content  Tables in HTML

3 aTNPW1 - 3 Tables  Important structures in web publishing  Used entirely for two dimensional data output  Can be used for making the page layout (old approach to page layout)

4 aTNPW1 - 3 Tables – source code example Source code example Table description Annual turnover Growth Subsidiary 1 6,3 mil +11,5%

5 aTNPW1 - 3 Tables – source code example Subsidiary 2 +15,2 mil 16,7% Subsidiary 3 4,5 mil -8,5%

6 aTNPW1 - 3 Tables – output example Output of the previous code: Annual turnoverGrowth Subsidiary 16,3 mil+11,5% Subsidiary 215,2 mil+16,7% Subsidiary 34,5 mil-8,5% Table description

7 aTNPW1 - 3 Tables – syntax Table Table row Table cell (standard cell) Table cell (header cell) - Content of this cell is automatically formatted (format depends on the browser)

8 aTNPW1 - 3 Tables – syntax Table caption - Text description of the table data (optional element)

9 aTNPW1 - 3 Tables – syntax Important table attributes (element ) border … visual border of cells (table grid) cellspacing … space (margin) between the table cells cellpadding … space (padding) between the cell border and the cell content

10 aTNPW1 - 3 Tabulky – syntaxe Important cell attributes (element, ) cellspacing … cellpadding … nowrap … affects the content wrapping in the cell colspan … allows merging some cells across the columns rowspan … allows merging some cells across the rows


Download ppt "Technologies for web publishing Ing. Václav Freylich Lecture 3."

Similar presentations


Ads by Google