<frame src="" marginwidth="" marginheight="">

  • IE
  • Cr
  • Sf
  • Fx
  • O

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

<title>TAG index</title>

<frameset cols="33%,*,33%">
<frame src="example13a.html">
<frame src="example13a.html" marginwidth="30" marginheight="30">
<frame src="example13a.html" marginwidth="0" marginheight="0">

<p>Alternate content</p>



Example pagenew window