Tables and Frames

learn here that how to design table and frame.

tables

tags in tables : <table> <tr> <td>
values : rowspan , colspan

table tag : table tag is used to create a table..there must be the closing tag of table tag..
eg : <table> ------ </table>
tr tag : tr tag is used to create a row in a table.there must be closing tag of tr tag. tr tag is used within table tag.
eg : <tr> ----- </tr>
td : td tag is used to create a cell in a table & stands for table data.there must be the closing tag.td tag is used within tr tag.
eg : <td> cell_name </td>

values

rowspan value : this value is used within td tag.it is used to combine all row cell within a column cell.
eg : <td rowspan=3> cell_name </td>
colspan value : this value is also used within td tag.it is used to combine all column cell within a row cell.
eg : <td colspan=3> cell_name </td>

a table using given tags..

cell_name cell_name
cell_name cell_name



Frames

frames divides the page into some parts and can open different page in each part..

tags in frames : <frameset> and <frame>
values : rows and cols

frameset tag : this tag is used to set the frame. here we declare all parts in a page using values . there must be the closing tag for frameset.
eg : <frameset ----> ---- <frameset>
frame tag : this tag is used within frameset tag . there should be src(source) associated with this tag .there is no necessity to close the tag.
eg : <frame src="---">

values>

rows value : rows value is used to define no. of rows with the percentage on screen.
eg : <frameset rows="30%,35%,35%">frameset; ---- </frameset>
cols value : this value is similiar to the rows value. used to define no. of cols in frame.
eg : <frameset cols="30%,35%,35%">frameset; ---- </frameset>

No comments:

Post a Comment