podepne sie.
coprawda potrafie sie pozbyc error`ow ale validator pokazuje ostrzezenie i niewiem jak sie tego pozbyc, aby bylo pieknie i slicznie.
oto kod
Kod
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title> title </title>
</head>
<body>
<h1>test</h1>
</body>
</html>
kod jest poprawny "This Page Is Valid XHTML 1.0 Strict!" ale jest czerwna rameczka
Kod
Character Encoding mismatch!
The character encoding specified in the HTTP header (iso-8859-2) is different from the value in the XML declaration (utf-8). I will use the value from the HTTP header (iso-8859-2).
kolejne pytanie dotyczy
Kod
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
czy moge sobie pozmieniac xml:lang i lang na ="pl "