3. Use <frame> tag to specify document in each frame
Tables are used to display data in an organized manner and layout page content
Frames are useful for making information visible at all times and focusing on layout rather than content
A table is a requirement in creating a page template, and templates are used to create a page model or framework
The frameborder attribute is important to specify the width of the border around a frame
The colspan attribute is used to make a table cell span multiple columns
The src attribute is used to specify the source document of a frame
The rowspan attribute is used to make a table row span multiple rows
The bgcolor attribute is used to set the background color of a table
The bordercolor attribute is used to set the color of a table's borders
Table Headings
Labels used on rows, columns or both. Table headings are usually displayed as large or bold text.
Table Cells
Individual boxes within the table. These are the spaces where content are usually placed.
Table Data
Values in the table. These are usually the content.
Colspan
Assigns the size or width of a column relative to the size of the table. Add a numerical value or a percentage to set this attribute.
Width
The width of the table relative to the size of the browser window.
Cellspacing
The amount of space between space
Cellpadding
The amount of space between the cell's contents and its border.
Rowspan
Sets the size of a selected row relative to the size of the cells of the table. Add a numerical value to correspond to the number of rows that the size of the row must be set.
Bgcolor
Refers to the color that you want the background of the table to have.
Bordercolor
The color of the table's borders.
Attributes
cols
rows
border
framespacing
scrolling
cols
Specifies the number of columns and the width of each column
cols
e.g <frameset cols="33%, 33%, *">
Values for cols
percent (%) –percent relative to the width of the window or containing frame
number of pixels
rows
Specifies the number of rows and the width of the height of each row
rows
e.g. <frameset rows="50%, *">
border
Sets the width of the border in pixels drawn around the frames
framespacing
Specifies in pixels the amount of space between frames
scrolling
Determines whether or not scrollbars are displayed in all the frames
Values for scrolling
yes
no
auto
Attributes
src
border
marginheight
marginwidth
name
noresize
scrolling
src
Specifies the source document of the frame
Values for src
URL of the HTML document
border
Sets the width in pixels of the border drawn around the frame
marginheight
Specifies the top and bottom margins (in pixels) of the frame
marginwidth
Specifies the right and left margins (in pixels) of the frame