1.

write a html program to divide the browser windows into two horizontal sections.top section display name of hotel and bottom section divided into two vertical section 12th

Answer» <!DOCTYPE html> <html><body><p>          </p><frameset rows="50%, 50%">          <frame name="top" src="NameofHotel.png"/>        <frameset cols="50%,50%">          <frame name="bottom" src="1.png"/>          <frame name="bottom" src="2.png"/>      </frameset>    </frameset>  This HTML code will <a href="https://interviewquestions.tuteehub.com/tag/give-468520" style="font-weight:bold;" target="_blank" title="Click to know more about GIVE">GIVE</a> the <a href="https://interviewquestions.tuteehub.com/tag/required-1185621" style="font-weight:bold;" target="_blank" title="Click to know more about REQUIRED">REQUIRED</a> output.Note=&gt; In every src you will have to add a <a href="https://interviewquestions.tuteehub.com/tag/picture-600284" style="font-weight:bold;" target="_blank" title="Click to know more about PICTURE">PICTURE</a> or html file so, as to show up the content otherwise the above code will just divide the browser <a href="https://interviewquestions.tuteehub.com/tag/windows-22662" style="font-weight:bold;" target="_blank" title="Click to know more about WINDOWS">WINDOWS</a> only.Frameset is not supported in <a href="https://interviewquestions.tuteehub.com/tag/html5-11265" style="font-weight:bold;" target="_blank" title="Click to know more about HTML5">HTML5</a>.</body></html>


Discussion

No Comment Found

Related InterviewSolutions