re fram validation

Discussion in 'HTML' started by adrian suri, Sep 1, 2005.

  1. adrian suri

    adrian suri Guest

    hi

    I am creating a frame set, but it will not validate because of the meta
    tag <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    what's wrong with this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML/DTD 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <meta name="GENERATOR" content="EPM 6.03 (OS/2)" />
    <meta name="keywords" content="performing art, music,
    dramatics,heatre" />
    <meta name="description" content="Performing arts, teaching acting
    and music" />
    <meta name="AUTHOR" content="Adrian Suri" />
    <meta name="CREATED" content="20050620;8343339" />
    <meta name="CHANGEDBY" content="Adrian Suri" />
    <meta name="CHANGED" content="20050620;8343339" />
    <link rel="stylesheet" type="text/css" href="style/style.css">
    <title>Nigels' Part's Home Pagep</title>

    </head>
    <frameset rows="10%,50%">
    <frame src="top.html">
    <frameset cols="18%,88%">
    <frame src="menu.html">
    <frame src="home.html">
    </frameset>
    </frameset>
    </html>

    regards

    Adrian Suri
    adrian suri, Sep 1, 2005
    #1
    1. Advertising

  2. adrian suri

    rf Guest

    adrian suri wrote:

    > I am creating a frame set


    Why?

    Cheers
    Richard.
    rf, Sep 1, 2005
    #2
    1. Advertising

  3. adrian suri

    adrian suri Guest

    as an interim step to using full css xhtml

    adrian

    rf wrote:
    > adrian suri wrote:
    >
    >
    >>I am creating a frame set

    >
    >
    > Why?
    >
    > Cheers
    > Richard.
    >
    >
    adrian suri, Sep 1, 2005
    #3
  4. adrian suri

    Guest

    adrian suri wrote:

    > what's wrong with this:


    Unclosed element for the <link>

    Also it's an unholy mixture of XHTML and frames. Beat yourself with the
    XHTML stick if you must, but:
    - Understand what you're doing
    (read the regular local rants here and in c.i.w.a.h)
    - Get it right (well-formed XML as a minimum)
    - Don't waste the effort on an obsolete designs using frames.
    , Sep 1, 2005
    #4
  5. adrian suri

    rf Guest

    adrian suri wrote:

    Please do not top post.

    > rf wrote:
    > > adrian suri wrote:


    > >>I am creating a frame set


    > > Why?


    > as an interim step to using full css xhtml


    Using frames is *NOT* an interim step to using full CSS [x]HTML.

    Stop doing it. Go straight to "full CSS [x]HTML".

    Cheers
    Richard.
    rf, Sep 1, 2005
    #5
  6. adrian suri

    Rincewind Guest

    On Thu, 01 Sep 2005 12:33:37 +0200, adrian suri wrote:

    > hi
    >
    > I am creating a frame set, but it will not validate because of the meta
    > tag <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    > what's wrong with this:
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML/DTD 1.0 Frameset//EN"
    > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    > <meta name="GENERATOR" content="EPM 6.03 (OS/2)" />
    > <meta name="keywords" content="performing art, music,
    > dramatics,heatre" />
    > <meta name="description" content="Performing arts, teaching acting
    > and music" />
    > <meta name="AUTHOR" content="Adrian Suri" />
    > <meta name="CREATED" content="20050620;8343339" />
    > <meta name="CHANGEDBY" content="Adrian Suri" />
    > <meta name="CHANGED" content="20050620;8343339" />
    > <link rel="stylesheet" type="text/css" href="style/style.css">
    > <title>Nigels' Part's Home Pagep</title>
    >
    > </head>
    > <frameset rows="10%,50%">
    > <frame src="top.html">
    > <frameset cols="18%,88%">
    > <frame src="menu.html">
    > <frame src="home.html">
    > </frameset>
    > </frameset>
    > </html>
    >
    > regards
    >
    > Adrian Suri


    Apart from the Why?
    The very first line should be <?xml version="1.0" encoding="UTF-8"?>
    You then need to make sure that all your tags are closed, which they
    aren't. Do this and it validates.
    Rincewind, Sep 1, 2005
    #6
  7. adrian suri

    Guest

    Rincewind wrote:

    > The very first line should be <?xml version="1.0" encoding="UTF-8"?>


    It doesn't _need_ to be, and it's not a good practice for XHTML

    You can lose the 'encoding="UTF-8"' as well, as that causes a lot more
    trouble than it solves (unless you really understand what you're doing).
    , Sep 1, 2005
    #7
  8. adrian suri

    Rincewind Guest

    On 1 Sep 2005 06:28:57 -0700, wrote:

    > Rincewind wrote:
    >
    >> The very first line should be <?xml version="1.0" encoding="UTF-8"?>

    >
    > It doesn't _need_ to be, and it's not a good practice for XHTML
    >
    > You can lose the 'encoding="UTF-8"' as well, as that causes a lot more
    > trouble than it solves (unless you really understand what you're doing).


    Sorry, I had been told that it was needed, I bow to your greater knowledge.
    Rincewind, Sep 1, 2005
    #8
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Colin Mackay
    Replies:
    0
    Views:
    2,678
    Colin Mackay
    Jun 25, 2003
  2. =?Utf-8?B?Uk1M?=
    Replies:
    1
    Views:
    540
    =?Utf-8?B?QW5keSBMdWtzaWM=?=
    Sep 16, 2005
  3. Eswa
    Replies:
    0
    Views:
    361
  4. Raf256
    Replies:
    1
    Views:
    414
    Raf256
    Jun 23, 2006
  5. Søren M. Olesen

    Fram onresize event, FireFox

    Søren M. Olesen, Dec 7, 2004, in forum: Javascript
    Replies:
    0
    Views:
    111
    Søren M. Olesen
    Dec 7, 2004
Loading...

Share This Page