Posts

Showing posts with the label frames

HTML | Frameset Tag | Attributes

Image
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 :               With this attribute, you can specify color of border between frames.           example :              <html>      <frameset cols="20%,30%,*" bordercolor=Red> <frame src="frame1.html"> <frame src="frame2.html"> <frame src="frame3.html">      </frameset>           </html>          Output : frameborder  :             With this attribute, you can specify whether border between frames should displayed or not.               It can take 2 values,  0 - No border 1 - B...

HTML | frameset Tag

Image
In this tutorial, you will learn how to divide browser window into multiple sections with each section having its own content. HTML <frameset> Tag The <frameset> tag in HTML is used to define the frameset. The <frameset> element contains one or more frame elements. Syntax: <frameset cols = "pixels|%|*"> Attributes: cols : The cols attribute is used to create vertical frames in web browser. This attribute is basically used to define the no of columns and its size inside the frameset tag. rows : The rows attribute is used to create horizontal frames in web browser. This attribute is used to define no of rows and its size inside the frameset tag. Value of cols and rows can be provided in pixels, % or *. Creating Vertical Frames To create a set of vertical frames, we need to use the frameset element with the cols attribute. The cols attribute is used to define the number and size of columns. We have three files to display in different sections vertically. ...