HTML FRAMES (12.2)

HTML  frames

For the following example to work, there are two other simple HTML files : “HMTL11e1 frame a.html” and “HMTL11e1 frame b.html”. your browser will divide your screeub half. Moreover if your browser does not support frames, then following example will display a note using <noframes<…</noframes> tag.
Example (Website-School/HTML Frame “a”): <html> <head> <title>Website-School/HTML Frame &quot;a&quot;</title> </head>   <body> This is frame a HTML document. </body> </html> Example (Website-School/HTML Frame “b”): <html> <head> <title>Website-School/HTML Frame &quot;b&quot;</title> </head>   <body> This is frame b HTML document. </body> </html> Example: <html> <frameset rows=”*,*” cols”50%, 50%”> <frame src=”/HMTL11e1framea.html”> <frame src=”/HMTL11e1frameb.html” name=”b” scrolling=”auto” /> </frameset> <noframes> <body> <p> your browser do not suppport frames</p> </body> </noframes> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <title>Website-School/HTML Frames Example 2 Result</title> </head>   </html> The frames can be nested. For this purpose one frameset tags have to be inside other frameset tags. Variety of display and layouts can be created using nested frames.
Nested frames example:


For the following example to work, there are two other simple HTML files : “HMTL11e1 frame a.html” and “HMTL11e1 frame b.html”. your browser will divide your screeub half. The following example shows two main framesets. The first one contains the second frameset and frame a. Then the inner frameset further contains the frame “c” and “d”.


Example  (Website-

School/HTML Frame “a”):

<html>

<head>

<title>Website-School/HTML Frame &quot;a&quot;</title>

</head>

 

<body>

This is frame a HTML document.

</body>

</html>

Example  (Website-

School/HTML Frame “b”):

<html>

<head>

<title>Website-School/HTML Frame &quot;b&quot;</title>

</head>

 

<body>

This is frame b HTML document.

</body>

</html>

Example

<html>

<frameset rows=”20%,*” frameborder=”yes” >

<frame src=”/HMTL11e1framea.html” name=”a”  scrolling=”auto” noresize=”noresize”  />

<frameset cols=”30%, 20%”   frameborder=”yes”>

<frame src=”/HMTL11e1framec.html” name=”c” scrolling=”auto” noresize=”noresize”  id=”c” />

<frame src=”/HMTL11e1framed.html” name=”d” scrolling=”auto” noresize=”noresize”  id=”d” />

</frameset>

</frameset>

<noframes>

<body>

<p> your browser do not suppport frames</p>

</body>

</noframes>

<head>

<title>Website-School/HTML Frames Example 3 Result</title>

</head>

</html>

For more visit next posts in this category.

 

4 Responses to HTML FRAMES (12.2)

  1. Is there something wrong with the stylesheet here? It all looks yellow and I can barely read the article?

  2. I like the theme on the blog. Is it downloadable anywhere?

  3. I love the theme on this site. Is it available for download anywhere?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>