开发者

HTML CSS Validation Error

开发者 https://www.devze.com 2023-01-07 22:20 出处:网络
Error found while checking this document as XHTML 1.0 Transitional! i have my site [here][link removed]
Error found while checking this document as XHTML 1.0 Transitional!

i have my site [here][link removed]

but im failing to validate either online or in dreamweaver cs5.

the problem being:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/开发者_如何学GoDTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

what should i change this to, then?

im beginning to learn HTML, CSS so forgive me if my situation is naive.

thank you for your input/help.

the site only works in IE8 and Chrome!


change the following in your source code:

<title>God&copy</title>

to

<title>God&copy;</title>

(html entities must be terminated with a semicolon)

and change

<script language="javascript" src="script/sitescript.js"></script>

to

<script language="javascript" type="text/javascript" src="script/sitescript.js"></script>

(the <script> tag requires the type attribute)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号