html to xhtml mp 1.2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Malka1
    replied
    Thanx Guys, seems that page is valuid now;)

    Leave a comment:


  • GumSlone
    replied
    PHP Code:
    <div class="header_rek c2"><a href="http://click.buzzcity.net/click.php?partnerid=16978"><img src="http://ads.buzzcity.net/show.php?partnerid=16978" alt="" /><br /> 
    you havnt closed the a tag here

    Leave a comment:


  • Malka1
    replied
    i put that html part trought html tidy and they permit it, asxhtml 1.0 strict, oky i removed it, still have 5 errors..

    p.s aleready closed that tag at foot..

    Look here

    PHP Code:
    print '
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
    "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
    <head>
    <link rel="stylesheet" type="text/css" href="./kirsu.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>'
    .$setup['zag'].'</title>

    <style type="text/css">
    /*<![CDATA[*/
     span.c5 {background-color: #ff3300; color: #330066}
     span.c4 {color:silver;}
     span.c3 {color:#ff3300;}
     div.c2 {text-align: center}
     a.c1 {color: #ff0000; background-color: #eeeeee}
    /*]]>*/
    </style>
    </head>
    <body>
    <div class="header_rek c2"><a href="http://click.buzzcity.net/click.php?partnerid=16978"><img src="http://ads.buzzcity.net/show.php?partnerid=16978" alt="" /><br />'
    ;

    require_once 
    "MkhojAd.php";
    echo 
    "<br/>";
    include_once 
    "adzmob.php";
    echo 
    "</div>"
    Why does validator says thatfooth </div> was self-closed, it was started on page head...?
    Last edited by Malka1; 30.03.10, 07:56.

    Leave a comment:


  • GumSlone
    replied
    close all tags correctly:
    PHP Code:
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml">
    <
    head>

    <
    link rel="stylesheet" type="text/css" href="./kirsu.css" />
    <
    meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <
    title>WapFiles.in</title>

    <
    style type="text/css">
    /*<![CDATA[*/
     
    span.c5 {background-color#ff3300; color: #330066}
     
    span.c4 {color:silver;}
     
    span.c3 {color:#ff3300;}
     
    div.c2 {text-aligncenter}
     
    a.c1 {color#ff0000; background-color: #eeeeee}
    /*]]>*/
    </style>
    </
    head>
    <
    body>
    <
    div class="header_rek c2">
    <
    a href="http://click.buzzcity.net/click.php?partnerid=16978"><img src="http://ads.buzzcity.net/show.php?partnerid=16978" alt="" /></a><br />
    <!-- 
    mKhojNo advt for this position -->
    <
    br/>
    <
    a href="http://ads1.adzmob.com/adclick.do/0676ccd4-0126-1000-7af9-709a8cfb03bb/0" style="color: #ff0000; background-color: #eeeeee;">DOWNLOAD FULL MOBILE 3GP VIDEOS</a>
    <
    img src="http://wapspell.com/image/online.php?id=2252&amp;v=0" alt=""/></div>
    <
    div class="iblock"><a href="search.html">Search</a><br/></div>
    <
    div class="iblock"><a href="top.html">Top 20 files</a></div>
    <
    div class="mainzag"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=85">Videos</a></b>(2)</div>
    <
    div class="row"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=84">Themes</a></b>(18)</div>
    <
    div class="mainzag"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=83">Images</a></b>(37)</div>
    <
    div class="row"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=78">Games and Applications</a></b>(1196)</div>
    <
    div class="mainzag"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=70">Flash Games</a></b>(0)</div>
    <
    div class="row"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=2437">Movies Themes Music</a></b>(2)(<span style="color:#ff3300;">+2</span>)</div>
    <
    div class="mainzag"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=1391">Good PHP Scripts</a></b>(7)(<span style="color:#ff3300;">+1</span>)</div>
    <
    div class="iblock">Pages: <strong>[1]</strong> <br/></div>
    <
    div class="mainzag">
    &
    #8226; <a href="user.php?id=0">Settigs</a><br/>• <a href="stat.php">Statistics</a><br/>• <a href="table.php">Orders</a><br/>• <a href="http://wapfiles.in">Main</a><br/>• <a href="rules.php">Privacy Policy</a><br/>0.8263с.<br/><a href="http://waplog.net/ru/c.shtml?59347"><img src="http://c.waplog.net/ru/59347.cnt" alt="waplog" /></a><br/><a href="http://top.sendwap.com/?id=wapfilesin">Search Here</a><br/></div><div class="sani" style="text-align: center"><b>Users On-Line:</b><a href="guest.php"><span style="color:silver;">11</span></a><br/><span style="color:#330066;background-color: #ff3300">(c) WapFiles 2010</span></div>
    </body>
    </
    html
    and what is?
    PHP Code:
    <meta name="downloads" content="videos, images, scripts, music, free" /> 

    Leave a comment:


  • Malka1
    replied
    I dont know gum, i was tried many methods to fiix it, and seems to be wrong...

    Actual code


    PHP Code:
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
    "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd"
    >
    <
    head>
    <
    meta name="downloads" content="videos, images, scripts, music, free" />
    <
    link rel="stylesheet" type="text/css" href="./kirsu.css" />
    <
    meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <
    title>WapFiles.in</title>

    <
    style type="text/css">
    /*<![CDATA[*/
     
    span.c5 {background-color#ff3300; color: #330066}
     
    span.c4 {color:silver;}
     
    span.c3 {color:#ff3300;}
     
    div.c2 {text-aligncenter}
     
    a.c1 {color#ff0000; background-color: #eeeeee}
    /*]]>*/
    </style>
    </
    head>
    <
    body>
    <
    div class="header_rek c2"><a href="http://click.buzzcity.net/click.php?partnerid=16978"><img src="http://ads.buzzcity.net/show.php?partnerid=16978" alt="" /><br />
    <!-- 
    mKhojNo advt for this position -->
    <
    br/><a href="http://ads1.adzmob.com/adclick.do/0676ccd4-0126-1000-7af9-709a8cfb03bb/0" style="color: #ff0000; background-color: #eeeeee">DOWNLOAD FULL MOBILE 3GP VIDEOS</a><img src="http://wapspell.com/image/online.php?id=2252&amp;v=0" alt=""/></div><div class="iblock"><a href="search.html">Search</a><br/></div><div class="iblock"><a href="top.html">Top 20 files</a></div><div class="mainzag"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=85">Videos</a></b>(2)</div><div class="row"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=84">Themes</a></b>(18)</div><div class="mainzag"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=83">Images</a></b>(37)</div><div class="row"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=78">Games and Applications</a></b>(1196)</div><div class="mainzag"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=70">Flash Games</a></b>(0)</div><div class="row"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=2437">Movies Themes Music</a></b>(2)(<span style="color:#ff3300;">+2</span>)</div><div class="mainzag"><img src="ext/dir.png" alt="" /><b><a href="index.php?id=1391">Good PHP Scripts</a></b>(7)(<span style="color:#ff3300;">+1</span>)</div><div class="iblock">Pages: <strong>[1]</strong> <br/></div><div class="mainzag">
    &
    #8226; <a href="user.php?id=0">Settigs</a><br/>• <a href="stat.php">Statistics</a><br/>• <a href="table.php">Orders</a><br/>• <a href="http://wapfiles.in">Main</a><br/>• <a href="rules.php">Privacy Policy</a><br/>0.8263с.<br/><a href="http://waplog.net/ru/c.shtml?59347"><img src="http://c.waplog.net/ru/59347.cnt" alt="waplog" /></a><br/><a href="http://top.sendwap.com/?id=wapfilesin">Search Here</a><br/></div><div class="sani" style="text-align: center"><b>Users On-Line:</b><a href="guest.php"><span style="color:silver;">11</span></a><br/><span style="color:#330066;"><span style="background-color: #ff3300">(c) WapFiles 2010</span></div></body></html> 
    Last edited by Malka1; 30.03.10, 06:38.

    Leave a comment:


  • GumSlone
    replied
    PHP Code:
    <div class="vidus" style="text-align: left" /> 
    - who teached you to use such div tags?

    Leave a comment:


  • WhiteWarrior
    replied
    LoL at the part about the validation being wrong!!
    anyhow, this would pass 100%
    PHP Code:
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <
    head>
    <
    meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
    <
    link rel="stylesheet" type="text/css" href="./kirsu.css" />
    <
    meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <
    title>WapFiles.in</title>

    <
    style type="text/css">
    /*<![CDATA[*/
     
    span.c5 {background-color#ff3300; color: #330066}
     
    span.c4 {color:silver;}
     
    span.c3 {color:#ff3300;}
     
    div.c2 {text-aligncenter}
     
    a.c1 {color#ff0000; background-color: #eeeeee}
    /*]]>*/
    </style>
    </
    head>
    <
    body>
    <
    div class="header_rek c2"><a href="http://click.buzzcity.net/click.php?partnerid=16978"><img src="http://ads.buzzcity.net/show.php?partnerid=16978" alt="" /><br /></a> <a href="http://ads1.adzmob.com/adclick.do/928d7297-0126-1000-f171-894e3c75643e/0" class="c1">FREE downloads for your W3C_Validator</a><img src="http://wapspell.com/image/online.php?id=2252&amp;v=0" alt="" /></div>
    <
    div class="iblock"><a href="search.html?lid=bviaivvojldlspc22f1ivr1v27">Search</a><br />
    <
    div class="iblock"><a href="top.html?lid=bviaivvojldlspc22f1ivr1v27">Top 20 files</a></div>
    <
    div class="mainzag"><img src="ext/dir.png" alt="" /><strong><a href="index.php?id=85&amp;lid=bviaivvojldlspc22f1ivr1v27">Videos</a></strong>(2)</div>
    <
    div class="row"><img src="ext/dir.png" alt="" /><strong><a href="index.php?id=84&amp;lid=bviaivvojldlspc22f1ivr1v27">Themes</a></strong>(18)</div>
    <
    div class="mainzag"><img src="ext/dir.png" alt="" /><strong><a href="index.php?id=83&amp;lid=bviaivvojldlspc22f1ivr1v27">Images</a></strong>(37)</div>
    <
    div class="row"><img src="ext/dir.png" alt="" /><strong><a href="index.php?id=78&amp;lid=bviaivvojldlspc22f1ivr1v27">Games and Applications</a></strong>(1196)</div>
    <
    div class="mainzag"><img src="ext/dir.png" alt="" /><strong><a href="index.php?id=70&amp;lid=bviaivvojldlspc22f1ivr1v27">Flash Games</a></strong>(0)</div>
    <
    div class="row"><img src="ext/dir.png" alt="" /><strong><a href="index.php?id=2437&amp;lid=bviaivvojldlspc22f1ivr1v27">Movies Themes Music</a></strong>(2)(<span class="c3">+2</span>)</div>
    <
    div class="mainzag"><img src="ext/dir.png" alt="" /><strong><a href="index.php?id=1391&amp;lid=bviaivvojldlspc22f1ivr1v27">Good PHP Scripts</a></strong>(7)(<span class="c3">+1</span>)</div>
    <
    div class="iblock">Pages: <strong>[1]</strong><br /></div>
    <
    div class="mainzag">• <a href="user.php?id=0&amp;lid=bviaivvojldlspc22f1ivr1v27">Settigs</a><br />
    • <a href="stat.php?lid=bviaivvojldlspc22f1ivr1v27">Statistics</a><br />
    • <a href="table.php?lid=bviaivvojldlspc22f1ivr1v27">Orders</a><br />
    • <a href="http://wapfiles.in">Main</a><br />
    • <a href="rules.php?lid=bviaivvojldlspc22f1ivr1v27">Privacy Policy</a><br />
    &
    #65279;0.6966с.<br />
    <a href="http://waplog.net/ru/c.shtml?59347"><img src="http://c.waplog.net/ru/59347.cnt" alt="waplog" /></a><br />
    <
    a href="http://top.sendwap.com/?id=wapfilesin">Search Here</a><br /></div>
    <
    div class="sani c2"></div>
    <
    strong>Users On-Line:</strong><a href="guest.php?lid=bviaivvojldlspc22f1ivr1v27"><span class="c4">3</span></a><br />
    <
    span class="c5">(cWapFiles 2010</span></div>
    </
    body>
    </
    html
    Edit that to php or what ever you're working on

    Leave a comment:


  • wapfuture
    replied
    i cant see how those are errors they look properly coded

    Leave a comment:


  • Malka1
    replied
    So what about to help me fix this errors huh?

    Leave a comment:


  • metulj
    replied
    Originally posted by wapfuture View Post
    well i think that validator is telling you load of bull****
    but one thing you could try is seperating your lines mate..but other than that i duno
    that validator is the only one correct

    Leave a comment:


  • wapfuture
    replied
    well i think that validator is telling you load of bull****
    but one thing you could try is seperating your lines mate..but other than that i duno

    Leave a comment:


  • Malka1
    replied
    yea XD but look at validator ... ok now only 9 errors

    Leave a comment:


  • wapfuture
    replied
    mate ive found no errors lol..... should work

    Leave a comment:


  • wapfuture
    replied
    ok i will try bro because i know a little about xhtml...

    Leave a comment:


  • Malka1
    replied
    No page work, but while changing to xhtml from html, was some erros (76) now have (13) and i have no idea how to fix them...

    Leave a comment:

Working...
X