Which of the following is the correct code to create a framed webpage as shown…

2023

Which of the following is the correct code to create a framed webpage as shown in the figure below?

{5F08F33A-24EC-4A67-8612-EE9891660859}.png
  1. A.

    <FRAMESET ROWS="25%, 75%">

    <FRAME SRC="A.html">

    <FRAMESET COLS="50%, 50%">

    <FRAME SRC="B.html">

    <FRAME SRC="C.html">

    </FRAMESET>

    </FRAMESET>

  2. B.

    <FRAMESET COLS="25%, 75%">

    <FRAME SRC="A.html">

    <FRAMESET ROWS="50%, 50%">

    <FRAME SRC="B.html">

    <FRAME SRC="C.html">

    </FRAMESET>

    </FRAMESET>

  3. C.

    <FRAME ROWS="25%, 75%">

    <FRAMESET SRC="A.html">

    <FRAME COLS="50%, *">

    <FRAMESET SRC="B.html">

    <FRAMESET SRC="C.html">

    </FRAME>

    </FRAME>

  4. D.

    <FRAME COLS="25%, 75%">

    <FRAMESET SRC="A.html">

    <FRAME ROWS="50%, *">

    <FRAMESET SRC="B.html">

    <FRAMESET SRC="C.html">

    </FRAME>

    </FRAME>

Attempted by 132 students.

Show answer & explanation

Correct answer: A

The layout requires: A top frame (Frame A) occupying 25% height. The remaining 75% area divided into two vertical frames (Frame B and Frame C) of 50% width each. This structure is correctly achieved using an outer ROWS="25%,75%" frameset and a nested COLS="50%,50%" frameset, which is exactly done in option (a).

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs