Account
Login
Categories
HTML
CSS
Python
PHP
Elastic Stack
MySQL
HTML
CSS
Python
PHP
Elastic Stack
MySQL
Shobha
The best way to predict the future is to invent it
How does the <form> tag work in HTML?
The
tag is used to create forms on web pages, allowing users to submit input that is then processed by a server. The form contains various input elements like
,
,
, and
that enable users to interact and provide data.Example:
Name:
Submit
action: Specifies the URL or server-side script (such as submit.php) where the form data is sent for processing.
method: Defines how the data is transmitted, either using the GET or POST method
RELATED INTERVIEW QUESTIONS
What is the <link> tag used for in HTML?
What is the difference between list and tuple in Python?
What are the best practices for writing Pythonic code?
What are the effects of setting display: flex or display: grid on an element’s box model?
What are HTML5 new attributes like placeholder, autofocus, and required?
What is the difference between classification and regression problems in analytics?
What is Pythons memory_profiler module, and how can you use it?
Can you explain the browser’s rendering process when an HTML page is loaded?
Explain the difference between sorted() and sort() in Python.
How do you use CSS to animate an element from one position to another?
How do you handle a large dataset that does not fit into memory?
How can you optimize your Python code for performance?
What are Pythons built-in types for handling sets?
What does the align-self property do in Flexbox, and how is it different from align-items?
What are the new input types introduced in HTML5?
X