The marginwidth and marginheight attributes of the FRAME element specifies the margins in the frame.
<frame src="example.html" marginwidth="10" marginheight="10">
| Attribute | Value | Explanation |
|---|---|---|
| marginwidth=" " | pixels | the left and right margins in the frame |
| marginheight=" " | pixels | the top and bottom margins in the frame |
The margins in the left frame : Default
The margins in the center frame : 30px
The margins in the right frame : 0
<html> <head> <title>TAG index</title> </head> <frameset cols="33%,*,33%"> <frame src="example13a.html"> <frame src="example13a.html" marginwidth="30" marginheight="30"> <frame src="example13a.html" marginwidth="0" marginheight="0"> <noframes> <body> <p>Alternate content</p> </body> </noframes> </frameset> </html>