HTML | Frameset Tag | Attributes
In our previous blog Frameset Tag, we already learnt about Frameset tag and its 2 attributes - cols and rows. Here we will learn about few more attributes:
- bordercolor :
example:
<html>
<frameset cols="20%,30%,*" bordercolor=Red>
<frame src="frame1.html">
<frame src="frame2.html">
<frame src="frame3.html">
</frameset>
</html>
Output:
- frameborder :
- 0 - No border
- 1 - Border
example:
<html>
<frameset cols="20%,30%,*" bordercolor=Red frameborder=0>
<frame src="frame1.html">
<frame src="frame2.html">
<frame src="frame3.html">
</frameset>
</html>
Output:
- noresize:
example:
<html>
<frameset cols="20%,30%,*" bordercolor=Red>
<frame src="frame1.html" noresize=noresize>
<frame src="frame2.html">
<frame src="frame3.html">
</frameset>
</html>
- scrolling:
- Auto
- Yes
- No
example:
<html>
<frameset cols="20%,30%,*" bordercolor=Red>
<frame src="frame1.html" noresize=noresize>
<frame src="frame2.html" scrolling=yes>
<frame src="frame3.html">
</frameset>
</html>
Output:
For Live demo:
Comments
Post a Comment