为什么这段代码在<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 不能正常使用。
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<DIV id=divStay style="POSITION: absolute">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="7%"> </TD></TR></TBODY></TABLE></DIV>
<SCRIPT language=javascript >
function picsize(obj,MaxWidth){
img=new Image();
img.src=obj.src;
if (img.width>MaxWidth)
{
return MaxWidth;
}
else
{
return img.width;
}
}
function CloseQQ()
{
divStayTopleft.style.display="none";
return true;
}
var online= new Array();
</SCRIPT>
<div id="divStayTopleft" style="POSITION: absolute">
<table cellspacing="0" cellpadding="0" width="109" border="0">
<tr>
<td colspan="3">
<a onClick="CloseQQ()" href="javascript:;" shape="circle" coords="91,16,12">
<img height="34" src="image/50.gif" width="112" usemap="#Map" border="0"></a></td>
</tr>
<tr>
<td width="6"><img height="107" src="image/44.gif" width="6"></td>
<td valign="top" width="96" bgcolor="#FFFFFF">
<table cellspacing="0" cellpadding="0" width="90" align="center" border="0">
<tr>
<td height="30">
<table cellspacing="0" cellpadding="0" width="90" border="0">
<tr>
<td>
<div align="center"><img height="13" src="image/45.gif" width="16"><span class="font_12">
<span style="font-size: 9pt">客户服务</span></span></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellpadding="2" id="table47">
<tr>
<td width="13" valign="top" height="23"><img src="image/47.gif" alt="">
</td>
<td valign="bottom"><a href="http://wpa.qq.com/msgrd?V=1&Uin=383384674&Site=艾咪3D寝具&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:383384674:6" alt="点击这里给我发送消息" border="0"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellpadding="2" id="table47">
<tr>
<td width="13" valign="top" height="23"><img src="image/46.gif" alt=""/>
</td>
<td valign="bottom"><a href="http://wpa.qq.com/msgrd?V=1&Uin=584725004&Site=艾咪3D寝具&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:383384674:6" alt="点击这里给我发送消息" border="0"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
<td width="7"><img height="107" src="image/48.gif" width="7"></td>
</tr>
<tr>
<td colspan="3">
<img height="32" src="image/49.gif" width="112"></td>
</tr>
<tr>
<td colspan="3">
<img height="33" src="image/52.gif" width="112"></td>
</tr>
</table>
</div>
<p> </p>
<p> </p>
<p> </p> 展开
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<DIV id=divStay style="POSITION: absolute">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="7%"> </TD></TR></TBODY></TABLE></DIV>
<SCRIPT language=javascript >
function picsize(obj,MaxWidth){
img=new Image();
img.src=obj.src;
if (img.width>MaxWidth)
{
return MaxWidth;
}
else
{
return img.width;
}
}
function CloseQQ()
{
divStayTopleft.style.display="none";
return true;
}
var online= new Array();
</SCRIPT>
<div id="divStayTopleft" style="POSITION: absolute">
<table cellspacing="0" cellpadding="0" width="109" border="0">
<tr>
<td colspan="3">
<a onClick="CloseQQ()" href="javascript:;" shape="circle" coords="91,16,12">
<img height="34" src="image/50.gif" width="112" usemap="#Map" border="0"></a></td>
</tr>
<tr>
<td width="6"><img height="107" src="image/44.gif" width="6"></td>
<td valign="top" width="96" bgcolor="#FFFFFF">
<table cellspacing="0" cellpadding="0" width="90" align="center" border="0">
<tr>
<td height="30">
<table cellspacing="0" cellpadding="0" width="90" border="0">
<tr>
<td>
<div align="center"><img height="13" src="image/45.gif" width="16"><span class="font_12">
<span style="font-size: 9pt">客户服务</span></span></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellpadding="2" id="table47">
<tr>
<td width="13" valign="top" height="23"><img src="image/47.gif" alt="">
</td>
<td valign="bottom"><a href="http://wpa.qq.com/msgrd?V=1&Uin=383384674&Site=艾咪3D寝具&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:383384674:6" alt="点击这里给我发送消息" border="0"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellpadding="2" id="table47">
<tr>
<td width="13" valign="top" height="23"><img src="image/46.gif" alt=""/>
</td>
<td valign="bottom"><a href="http://wpa.qq.com/msgrd?V=1&Uin=584725004&Site=艾咪3D寝具&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:383384674:6" alt="点击这里给我发送消息" border="0"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
<td width="7"><img height="107" src="image/48.gif" width="7"></td>
</tr>
<tr>
<td colspan="3">
<img height="32" src="image/49.gif" width="112"></td>
</tr>
<tr>
<td colspan="3">
<img height="33" src="image/52.gif" width="112"></td>
</tr>
</table>
</div>
<p> </p>
<p> </p>
<p> </p> 展开
1个回答
展开全部
第一句:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
是来声明文档使用的标准,如果说有这话网页不能显示,那就是标准问题了,慢慢调了。
<html xmlns="http://www.w3.org/1999/xhtml">
是来声明文档使用的标准,如果说有这话网页不能显示,那就是标准问题了,慢慢调了。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询