I don't understand exactly what you mean by that but if you simply save a file with the extension .HTML it will be a HTML file that you can publish online. for eg
<HTML>
<body>
This is my HTML page
</body>
</HTML>
will simply show "This is my HTML page" on your web browser
hope i helped
HTML means Hypertext Markup Language. The tag is used for various javascripts and Java programs. HTML submit is a form of a script in Java programming.
The purpose of HTML forms is that they are used to allow people to submit information to a web site. One may submit a zip code to retrieve a list of restaurants in their are. Also, one may submit an address to receive coupons by mail.
A diferença é que um envia o comando HTML e o outro não
just click submit
There are a number of elements that could be contained in the HTML forms. They can contain text fields, check boxes, option lists and buttons with submit functions.
<html> <body> <form name="input" action="action.asp" method="post"> First name: <input type="text" name="FirstName" value="Rocky" size="20" /><br /> Last name: <input type="text" name="LastName" value="Maivia" size="20" /><br /> <input type="submit" value="Submit" /> </form> <p>Click the "Submit" button and the page would be submitted to "action.asp".</p> </body> </html>
A form can be created in HTML using the <form> tag. Inside form tag we can use elements like input, submit or reset.
Here is the code: <head> <html> <script type="text/javascript" language="javascript"> function submitForm() { // Validation Code in here var confirm = confirm("Are you sure you want to submit"); if(confirm==true) { form1.form.submit(); return true; } else { return false; } } </script> </head> <body> <form name="form1" action="file_name.php" method="post"> // Other form elements here <input type="submit" name="submit" id="submit" onclick="javascript:submitForm();return false;" /> </form> </body> </html>
Yes. You can use AJAX to submit the form. You can also use AJAX to get the actual HTML to produce the form (although you might also simply use that AJAX call to describe the form and then produce the HTML on the receiving end.)
A file: practise.html <html> <body> <form method="post" action="another.php" enctype="multipart/form-data"> <input type="text" name="field1" id="field1" /> <input type="submit" name="submit" /> </form> </body> </html> File: another.php <html> <body> <?php $text = $_POST['field1']; ?> <form> <input type="text" name="textfield1" id="txtfield" value="<?php echo $text; ?>" /> </form> </body> </html>
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>
Via AJAX. Another simpler way would be to use form elements and submit them via html and let PHP process the data. Processed data can be output in html form via echo or print statements in php.