Which attribute of the frameset tag creates two horizontal frames?a)Ro...
To create two horizontal frames, use rows = "10%, 90%". You can specify the height of each row in the same way as explained above for columns. This attribute specifies the width of the border of each frame in pixels.
View all questions of this test
Which attribute of the frameset tag creates two horizontal frames?a)Ro...
Explanation:
The frameset tag is used to define a set of frames within a webpage. It is used in conjunction with the frame tag to divide the browser window into multiple sections, each displaying a different webpage. The frameset tag contains various attributes that determine the layout and configuration of the frames.
The rows attribute is one of the attributes of the frameset tag. It specifies the height of each frame in the frameset, separated by commas. By specifying the height of each frame, the content within the frames can be displayed with a fixed height.
Example:
```html
```
In the above example, the rows attribute is set to "50%, 50%". This means that the frameset will be divided into two rows, each taking up 50% of the height of the browser window.
Explanation of the example:
- The frameset tag contains two frame tags, indicating that two frames will be displayed horizontally within the frameset.
- The rows attribute is set to "50%, 50%", which means that each frame will occupy 50% of the height of the browser window.
- The frame1.html and frame2.html files are the source files that will be displayed within the frames.
Therefore, the rows attribute of the frameset tag creates two horizontal frames by specifying the height of each frame in the frameset.
To make sure you are not studying endlessly, EduRev has designed Class 10 study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Class 10.