-1

I have the following HTML code which is not giving any output on neither Mozilla nor IE. The status bar shows connected to www.Facebook.com & www.yahoo.com but then the pages are not displayed. I've tested in Mozilla & IE.

<HTML>   
  <head>
      <script src="scripts.js"></script>
  </head>
  <frameset cols="50%,50%">
      <frame src="http://search.yahoo.com/search?p=gmail" />
      <frame src="http://www.facebook.com/login.php" />
  </frameset>
</HTML>

2 Answers2

1

frameset tag always requires a DOCTYPE tag.

Note: If you want to validate a page containing frames, be sure the is set to either "HTML Frameset DTD" or "XHTML Frameset DTD".

P.S.: Not sure if this requirement is there or not from HTML5.

hjpotter92
  • 78,589
  • 36
  • 144
  • 183
0

This line:

<frame src=<frame src="http://search.yahoo.com/search?p=gmail" />

take away the first '<frame src='

Douglas.Sesar
  • 4,214
  • 3
  • 29
  • 36