What is a <form> tag?

Experience Level: Junior
Tags: HTML

Answer

Teg <form> let you created form with inportamt information that have to be fill in. E.g: sign up form. Regarding on this tag is ussualy connect with <input> and <label> tags.

Example
<form>
	<label for="name">Name</label>
	<input type="text" name="name" />
	<button>Submit</button>
</form>
Related HTML job interview questions
HTML for beginners
HTML for beginners

Are you learning HTML? Try our test we designed to help you progress faster.

Test yourself