Sunday, April 20, 2025

HTML Forms - Data Entry

While creating forms in html, similar with tables, we need to have opening and closing form tag as generic border. Having forms means we also need to connect it to backend script in some programming language that will process inserted data.To do that you can use many programming languages. But don't worry for now about backend scripts.

This form is extremely simple. It just consists of a description what needs to be typed in specific fields.

Fields are delimited by 2 breaks.

After we are done constructing fields for data, don't forget to have submit button.

You are strongly advised to watch corresponding YT video on forms.

<!DOCTYPE html>

<html>
<head>
	<title>Security Tutorials</title>
</head>

<body>

	<h1>HTML Form</h1>
	
	<form name="myForm" action="php_proc_file.php" method="post">
	Name<br><br>
	<input type="text" name="data-for-name"><br><br>
	
	LastName<br><br>
	<input type="text" name="data-for-lastname"><br><br>
	
	<input type="submit" value="Submit Stuff Here">	
	
	</form>
	
</body>
</html>

No comments:

Post a Comment

Tkinter Introduction - Top Widget, Method, Button

First, let's make shure that our tkinter module is working ok with simple  for loop that will spawn 5 instances of blank Tk window .  ...