How to deal with Frameset in HTML

In this article we will discuss about how to divide a column into number of rows in frameset in HTML.
  • 1966

We can divide a column into number of rows in the frameset. For this we have to use rows attribute with the frameset tag. Here is the HTML code to explain this.

<html>
<
head>
    <title>Frameset page<title
>

</
head>
    <frameset cols="75%,*">
     <frameset rows="50%,50%">
        <frame src=""></frame>
        <frame src=""></frame>
     </frameset>
     <frame src=""></frame>
    </frameset
>

</
html>

Here First column whose width is 75% is divided into two rows whose width is 50%,50% respectively and second column whose width is 25% is not divided into any row.

We can divide the second column also into two rows.

HTML code:

<html>
<
head>
    <title>Frameset page<title
>

</
head>
    <frameset cols="75%,*">
     <frameset rows="50%,50%">
        <frame src=""></frame>
        <frame src=""></frame>
     </frameset>
     <frameset rows="50%,50%">
        <frame src=""></frame>
        <frame src=""></frame>
     </frameset>
    </frameset
>

</
html>

Here  both columns are divided into two rows whose width are 50%,50% respectively.

Ask Your Question 
 
Got a programming related question? You may want to post your question here
 

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.