<frameset>Define a frameset and few base properties for the frameset. Attribute | Description | border | Add a border to elements, the higher the numeric integer, the larger the border. | bordercolor | Changes the color of your border from the default. Use a numeric, hexidecimal, or named value. | cols | Define the number of columns in a frameset as well as each width. | class | Classify or name your elements. For instance, if you classify several paragraph elements the same name, using CSS it is possible to give them all the same styles in one line of code. | frameborder | For use with frames, 0 being no border, and 1 being with a border. | framespacing | Increase or decrease the borders of frames using whole numbers. | rows | Define the number and width of rows in a frameset or number of rows in a textarea. | style | Used to create inline styles such as CSS. | title | Places a "pop-up" title for an element upon mouse over. Similar to "help" pop-ups in word programs. |
Code:
<frameset framespacing="0" frameborder="0" rows="20%,*">
<frame src="http://www.google.com/">
<frame src="http://www.espn.com/">
</frameset>The above code will display Google on top of ESPN.
Display:
The above code will display Google on top of ESPN. |