Validate
Posted: Mon Sep 03, 2007 1:02 am
My blog is not XHMTL transitional because of one error in line 4:
"Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml"
http://validator.w3.org/check?uri=http% ... ose=1&st=1
Can I just replace the current value in index.tpl, which is http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
or would that cause all kinds of other problems? Do I have to change anything else in index.tpl, which currently looks like this:
{if $is_embedded != true}
{if $is_xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{else}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
{/if}
"Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml"
http://validator.w3.org/check?uri=http% ... ose=1&st=1
Can I just replace the current value in index.tpl, which is http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
or would that cause all kinds of other problems? Do I have to change anything else in index.tpl, which currently looks like this:
{if $is_embedded != true}
{if $is_xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{else}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
{/if}