English, asked by darshankatariya999, 10 months ago

Write HTML code to divide the screen into two horizontal sections and divide bottom section into two
vertical sections.

Answers

Answered by Anonymous
0

<frameset rows="*,*">

   <frame src="TopSection.html">

   <frame src="Bottom.html">

</frameset>

</html>

TopSection.html

<html>

   <head>

     <style>

           body {background: gray;}

          text-align: center;

          vertical-align: middle ;

       </style>

   </head>

   <body>

       <h1> "INDIA IS BEAUTIFUL</h1>

   </body>

</html>

Bottom.html

<html>

   <head>

  <style>

           body {background: gray;}

    </style>

   </head>

   <body>

     INFORMATION TECHNOLOGY

   </body>

</html>

Answered by ammumisty
1

Explanation:

<html>

<frameset rows="*,*">

<frame src="TopSection.html">

<frame src="Bottom.html">

</frameset>

</html>

TopSection.html

<html>

<head>

 <style>

  body {background: gray;}

  text-align: center;

  vertical-align: middle ;

  </style>

   </head>

   <body>

<h1> "INDIA IS BEAUTIFUL</h1>

   </body>

</html>

Bottom.html

<html>

   <head>

  <style>

   body {background: gray;}

    </style>

   </head>

   <body>

     INFORMATION TECHNOLOGY

   </body>

</html>

Similar questions