Welcome to Help4Web.co.uk - Web Design Help, Html Tutorial, Php, Asp , SQL help and CCNA, MCSE definitions!
Google
Webkpop-web.com

     Main Menu

· Home
· Free Downloads
· Computing FAQ
· Contact Us
· Free Software Downloads
· Tech Forum
· Technology News
· Web Design Help
· Your Account
· Your PM



     Web Browser


     Website Links
IT solutions
key technology solutions
Storage Area Network - Business Intelligence
Call Centre
White Papers IT
Learn Korean
Chinese Pop Music
Advertise Kpop
Korean Pop Site Map
Web Design
Pop Music
Chinese Girls
HK Pop Korean Music
Lee Hyori
Hyori
Boa Park Ji Yoon
Baby Vox YG Family
Jeon Ji Hyun
1 Tym Ha Ji Won
Shyne Bi Rain Bi
Shin Mina SM Town
Fly to the Sky
Korean Girls
Nicholas Tse
Web Traffic
보아
Edison Chen
Sung Hi Lee
Shinhwa
Andy Lau Jay Chou
White Papers
Case Study SES
Kelly Chen
Liu Yi Fei Sammi Cheng
Jordan Chan Music
IT Solutions

Lesson 5 :- Using Frames and Tables

(629 reads)   



Using Frames
Each HTML document is called a frame, and each frame is independent of the others, this allows you to display more than one HTML document in the same browser window.

The disadvantages of using frames are:

The web developer must keep track of more HTML documents
It is difficult to print the entire page


Using Frameset Tag
The <frameset> 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


Using Frame Tag
The <frame> tag defines what HTML document to put into each frame
In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window. The HTML document "frame_a.htm" is put into the first column, and the HTML document "frame_b.htm" is put into the second column:

<frameset cols="25%,75%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
</frameset>


Using Frame Tags
Tag Description

<frameset> Defines a set of frames
<frame> Defines a sub window (a frame)
<noframes> Defines a noframe section for browsers that do not handle frames
<iframe> Defines an inline sub window (frame)


Using Tables

Tables
In HTML tables are defined with the <table> tag. A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). 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.

<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>

How it looks in a browser:

row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2


Tables and the Border Attribute
In HTML if you do not specify a border attribute the table will be displayed without any borders.

To display a table with borders, you will have to use the border attribute:

<table border="1">
<tr>
<td>Row 1, cell 1</td>
<td>Row 1, cell 2</td>
</tr>
</table>


Table Headings
Headings in a table are defined with the <th> tag.

<table border="1">
<tr>
<th>Heading</th>
<th>Another Heading</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>

How it looks in a browser:
Heading Another Heading
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2


Table Empty Cells
Table cells with no content are not displayed very well in most browsers.

<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td></td>
</tr>
</table>

How it looks in a browser:

row 1, cell 1 row 1, cell 2
row 2, cell 1

Observe that the borders found around the empty table cell are missing.

To prevent this, add a non-breaking space (&nbsp;) to empty data cells, thus enabling the borders to be visible:

<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>&nbsp;</td>
</tr>
</table>

How it looks in a browser:

row 1, cell 1 row 1, cell 2
row 2, cell 1  

  

[ Back to Html Help | Web Help Index ]






CISSP | CCNA | TFT | WEP | VBScript | Server
Jpop
Kpop
Learn Chinese
Learn cantonese
Sim Free Mobile Learn Mandarin
Kaila yu
Utada Hikaru
Jet Li
Twins HK
Kelly Hu
Aaron Kwok Joey Yung
Maia Lee
Chinese Singles
Andy Lau
Sammi Cheng
JackieCheung
Nicholas Tse
Jay Zhou
Jordan Chan
Kelly Chen
Joey Yung
Park Ji Yoon
SES
Shinhwa
Shin Mina
Shyne
SM Town
DBSK TVXQ
Sung Hi Lee
T Tasha
U;nee
Yoo Seung Jun
Won Bin
YG Family
Korean Girls
Korean Wife
Korean Dating
Korean Husband
Korean Singles
Se7en
Epik High
FinKL
Kpop Banners
1 Tym
BabyVox
Bae Yong Jun
Bi Rain / Rain
International Sim Card
Boa
Click-B
Fly to the Sky
GOD
Ha Ji Won
Hyori

Jang Nara
Jeon Ji Hyun
JTL
Papaya
Lee Soo Young
Grace Park
Se7en
Kpop Kim Hee Sun
Won Bin
Korean Singles
Bae Yong Jun
Speak Korean
Jang Nara
SES
YG Family
Chae Yeon
Detox Patch
Detox
Party Promoter
Phone Card
RHUL
Web Tutorial
Programming
Loans UK
BokuMaro
CV Help Book
Chinese Music
Liu Yi Fei
Edison Chen
Andy Lau
Alyssa Chia
Avril Lavigne
Sean Pau
Kylie Minogue
Dan Truong
Uk Chinese
Chinese Models
Music
Learn Korean
Japanese Girls
Memory Card
CCNA definitions
Freelance Jobs

Produced by Kpop-Web Design Associates, all rights not reserved.
Computer Programming with Internet Marketing and Search Engine Optimisation Software Defined Radio | Loans UK | Phil Leung Here are some sites with current affiliates and partner to our sites, they are recommended however we accept no responsibility for the content which they may contain. Printing | Kpop | Web Guide | Kpop | Korean Music 1 | Korean Music 2 | Korean Music 3 | IT White Paper | CV Help | Server Definition | Firewall | White Papaers | Case Study | Web Cast | Research Paper