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

2022

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

image.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 133 students.

Show answer & explanation

Correct answer: A

The outer <FRAMESET ROWS="25%, 75%"> divides the page horizontally into Frame A (top) and the lower section.

Inside the second row, <FRAMESET COLS="50%, 50%"> it divides the lower section vertically into Frame B and Frame C.

This exactly matches the given layout.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs