Autor Zpráva
srameld
Profil
Ahojte!
Preco to nieje validne podla Xhtml 1.0 Strict?
Pri Transitional je to validne ale pri Strict nije,ako to mam urobit aby to bolo validne aj pri Strict?
Dakujem...


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="sk"/>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250"/>
<title>lolo</title>

</head>
<body>

<script type="text/javascript">
function gettip(txt)
{
document.getElementById('tip').innerHTML=txt
}

function reset()
{
document.getElementById('tip').innerHTML=""
}
</script>

<p>Mouse over these drinks:</p>

<span onmouseover="gettip('Hot black drink')"
onmouseout="reset()">Coffee</span>
<br /><br />
<span onmouseover="gettip('Cold white drink')"
onmouseout="reset()">Milk</span>

<p id="tip"></p>

</body>
</html>
Alphard
Profil
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="sk"/>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250"/>
<title>lolo</title>

</head>
<body>

<script type="text/javascript">
function gettip(txt)
{
document.getElementById('tip').innerHTML=txt
}

function reset()
{
document.getElementById('tip').innerHTML=""
}
</script>

<p>Mouse over these drinks:</p>
<p>
<span onmouseover="gettip('Hot black drink')"
onmouseout="reset()">Coffee</span>
<br /><br />
<span onmouseover="gettip('Cold white drink')"
onmouseout="reset()">Milk</span>
</p>
<p id="tip"></p>

</body>
</html>
srameld
Profil
Co si tam zmenil ked to uz teraz je validne?
nightfish
Profil
Alphard obalil ty spany odstavcem
Toto téma je uzamčeno. Odpověď nelze zaslat.

0