answersLogoWhite

0

If you want to maintain W3C compliance, you can't use the FORM tag without the BODY tag. The FORM tag must be contained within the BODY tag. Like this

<html>

<head>

<title>Our Cool Form Page</title>

</head>

<body>

<form method="post" action="example.php">

<input type="submit" value="submit">

</form>

</body>

</html>

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Is Slash is used to create a closing tag?

Yes. &lt;FORM&gt; is the opening tag whereas &lt;/FORM&gt; is the closing tag. This &lt;/TAG&gt; to close tags is applicable for most tages. ex: &lt;HTML&gt; &lt;/HTML&gt; &lt;BODY&gt; &lt;/BODY&gt; etc...


What three tags create the body of the form in HTML?

A form can be created in HTML using the &lt;form&gt; tag. Inside form tag we can use elements like input, submit or reset.


What should be the last command in any HTML document?

The last command in any HTML document is a closing HTML tag. Just before it is the closing BODY tag. &lt;/BODY&gt; &lt;HTML&gt;


Which tag is used to define body part of HTML?

The &lt;body&gt; tag starts it and &lt;/body&gt; ends it.


Which HTML tags do you close out at the very end?

The very last tag should be the closing HTML tag. It would be done like this: &lt;/html&gt; Before that you would normally close the Body tag, like this: &lt;/body&gt;


What is the full form of BR in HTML?

The correct HTML form for BR is . BR is a tag to force a line break. It was introduced as a single tag, with no companion tag. The and tags work with older HTML, but for HTML 5, you need to have an ending tag for each tag. You can create your own ending tag by adding forward slash within the single tag: .


What is the code for case sensitive in HTML?

HTML in not case sensitive i.e. upper and lowercase does not matter. For example: &lt;body&gt; tag and &lt;BODY&gt; tag are the same.


What is body tag in HTML?

A body tag defines the content of the web page. It defines what goes into the body of the page.


What is tag in HTML?

when you are making a web page you make a HTML tag so when you convert it to a web browser it isn't just blank. it is a piece of the code that your browser decodes into the page you see. this is an HTML tag &lt;HTML&gt; and it tells the browser that this is an HTML page. for everything you see on a web page, there is a special HTML tag for it.


What is the effect of body tag in HTML?

The BODY tag in HTML defines the portion of the HTML document in which the actual content of the page will be. For instance, images, text, links, Flash and everything else that renders when the browser loads the page is defined within the BODY tag. Compare this to its sibling tag, HEAD, which contains metadata that describes the data within the BODY.


What HTML tag is used to mark the top of the page?

The first tag you use when developing an HTML document is the tag. The first tag you use for the main content of your page is the tag. is the tag that marks the top of an HTML page. The minimum required first like is , which starts the definition of the page content.


What HTML tag element surrounds all the other tags in the document?

The HTML tag surrounds all others: &lt;html&gt;&lt;/html&gt; The BODY tag surrounds all of the content tags: &lt;body&gt;&lt;/body&gt; Note: Right-click a page in your browser &amp; choose View Source. Then look at the top and bottom of the text to see how these play out. Exception to the rule: There is sometimes a !DOCTYPE tag that appears before (outside of) the HTML tag, but there are no tags that appear after it.