Valid XHTML 1.0 - Frameset example

This example shows how a valid XHTML Frameset looks like.
BTW: I don't use frames often, but sometimes they can be really useful.

<!------>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
    <title>Example frameset</title>
 
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="Content-Language" content="en" />
 
</head>
 
    <frameset cols="250,*">
        <frame name="left_nav" src="left_nav.htm" frameborder="0" scrolling="no" />
        <frame name="main" src="main.htm" frameborder="1" />
        <noframes>
            <body>
                <p>
                    This page uses frames, but your browser 
                    does not support them.
                    <br/>
                    <br/>
 
                    Frames: 
                    <a href="left_nav.htm">Navigation</a>, 
                    <a href="main.htm">Content</a>
 
                </p>
            </body>
        </noframes>
    </frameset>
 
</html>
Snippet Details



See below

Sorry folks, comments have been deactivated for now due to the large amount of spam.

Please try to post your questions or problems on a related programming board, a suitable mailing list, a programming chat-room,
or use a QA website like stackoverflow because I'm usually too busy to answer any mails related
to my code snippets. Therefore please just mail me if you found a serious bug... Thank you!


Older comments:

karthikeyan April 07, 2011 at 16:56
nice coding
thank u very much
Vladislav December 30, 2010 at 12:52
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
Manoj Kumar September 24, 2008 at 14:06
Thanks for this Valid Frame Codes.