HTML Frame Marginheight and MarginWidth Attribute

Frame marginheight and marginwidth attributes are used to add more space between the text and edges of the frame. The vertical space between the text and frame edges can be increase using the marginheight and horizontal space can be added using the frame marginwidth attribute. The marginwidth and marginwidth attribute take value numeric value which is measured in pixels.

HTML code for frame with marginheight and marginwidth of 50 pixles.

   1:  <html>
   2:  <frameset cols="15%,*">
   3:  <frame src="framelinks.htm" marginheight="50" marginwidth="50">
   4:  <frame src="frame1.htm" name="mainframe">
   5:  </frameset>
   6:  </html>

image

Tags: , , ,

Author: Revo

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *

two + 10 =

 

Pin It on Pinterest

Shares
Share This