IDK0040 Võrgurakendused I harjutus 03: Lists, tables and frames Deniss Kumlander
Lists: Unordered Lists Coffee Milk Coffee Milk
Lists: Ordered Lists Coffee Milk 1.Coffee 2.Milk
Lists: Nested List Coffee Tea Black tea Green tea Milk Coffee Tea o Black tea o Green tea Milk
Lists: Advance … o
Lists: Advance : A, B, C … : a, b, c … : I, II, III, IV … : i, ii …
Lists: Definitions lists A definition list is not a list of items. This is a list of terms and explanation of the terms. Coffee Black hot drink Milk White cold drink Coffee Black hot drink Milk White cold drink
Tables: definition Tables are defined with the tag. A table is divided into rows (with the tag),.... and each row is divided into data cells (with the tag). so the table is always a set of rows and thereafter a set of cells and is never a set of columns (except [auto]finding columns widths) The letters td stands for "table data," which is the content of a data cell. A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables, etc.
Tables row 1, cell 1 row 1, cell 2 row 2, cell 1 row 2, cell 2 row 1, cell 1 row 1, cell 2 row 2, cell 1 row 2, cell 2
Tables Heading 1 Heading 2 row 2, cell 1 row 2, cell 2 Heading 1 Heading 2 row 2, cell 1 row 2, cell 2
Tables rowspan="x", colspan="x" col 1 col 2 row 2,3 col 2 row 2, col 2 row 3, col 2
Tables Empty cell - add into the cell to have a cell similar to others border="0" bgcolor, background etc for table, td (cell) align
Frames With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others. The tag defines how to divide the window into frames Each frameset defines a set of rows or columns The values of the rows/columns indicate the amount of screen area each row/column will occupy The tag defines what HTML document to put into each frame
Frames
Frames: mixing
Frames: Advance Inline frame: is a document inside the amin document – noresize => noresize="noresize“: makes impossible to move the frme border
Frames: noframes Your browser does not handle frames!
Links: target and frames TTU –_ top– Break out of a frame –_ blank - the target URL will open in a new window –_ self - the target URL will open in the same frame as it was clicked –_ parent - the target URL will open in the parent frameset In Links.htm: TTU