gpt4 book ai didi

html - 框架集文档类型

转载 作者:行者123 更新时间:2023-11-28 00:25:52 26 4
gpt4 key购买 nike

如果我们使用 frameset doctype,我们可以在该页面的 frameset 标签之外使用普通的 html 标签吗?

下面是代码;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<frameset cols="*" rows="40,*">
<frame src="#" />
<frame src="#"/>
<noframes>
<body>
Please enable frames to view.
</body>
</noframes>
</frameset>

<a href="#">Is this Normal Anchor Tag allowed for frameset doctype and if yes, is this the correct position ?</a>

</html:html>

最佳答案

不,你不能在框架集之外放置任何内容,这与文档类型无关。

您只能将内容放在 body 标签内,框架集页面没有 body 标签(noframes 标签内除外)。

关于html - 框架集文档类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5856568/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com