English 中文(简体)
为什么这个代码的标记无效?
原标题:Why is the markup of this code invalid?
  • 时间:2012-05-22 16:52:48
  •  标签:
  • html

我当时正在写一个 html 代码,我想将所有代码都“坚固”关闭为 < / 坚固 > 代码。 当我把它放入一个单一的 < code> > div 代码时, 它给了我一个错误, 我的标记是 < 坚固 > 无效 (显示关闭的 < code> div 标签是 < 坚固 > / 无效 > 。) 现在我很惊讶它怎么会无效。 请帮助我。

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>

<body>
<div>
            <iframe width="350" height="350" src="http://www.youtube.com/embed/P3weDRMemD8" frameborder="0" allowfullscreen></iframe>
            <form style="border:3px;text align.center;" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit=                "window.open( http://feedburner.google.com/fb/a/mailverify?uri=financeyoga/UPqT ,  popupwindow ,  scrollbars=yes,width=550,height=520 );return true">

            <input type="text" style="width:140px;padding:10px;" name="email"/>
            <input type="hidden" value="financeyoga/UPqT" name="uri"/>
            <input type="hidden" name="loc" value="en_US"/><br>
            <input style="padding:10px;" type="submit" value="Submit Email Address" />
            <img style="position:relative;top:325px; left:10px;" src="http://financeyoga.com/wp-content/uploads/2012/05/follow.png" width="143" height="64" border="0" usemap="#Map">
            <map name="Map">
            <area shape="rect" coords="5,18,33,44" href="www.twitter.com" target="_blank" alt="twitter">
            <area shape="rect" coords="57,16,87,46" href="www.facebook.com" target="_blank" alt="facebook">
            <area shape="rect" coords="107,16,137,46" href="plus.google.com" target="_blank" alt="google plus">
            </map>        
</div>
</body>
</html>
最佳回答

您尚未关闭您的 form 标签 。

问题回答

它似乎丢失了 标签 。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签