Typefully

About HTML Form Attributes - 2

Avatar

Share

 • 

3 years ago

 • 

View on X

🔷 About HTML Form Attributes - 2 A Thread🧵 👇
3️⃣ The Method Attribute → The method attribute specifies the HTTP method to be used when submitting the form data. → The form-data can be sent as URL variables (with method="get") or as HTTP post transaction (with method="post").
→ Different method attribute values • The "get" method ♦️ Appends the form data to the URL, in name/value pairs. ♦️ NEVER use GET to send sensitive data! ♦️ The length of a URL s limited (2048 characters).
♦️ Useful for form submissions where a user wants to bookmark the result. ♦️ GET is good for non-secure data, like query strings in Google.
• The "post" method ♦️ Appends the form data inside the body of the HTTP request (the submitted form data is not shown in the URL). ♦️ POST has no size limitations, and can be used to send large amounts of data. ♦️ Form submissions with POST cannot be bookmarked.
4️⃣ The Autocomplete Attribute → The autocomplete attribute specifies whether a form should have autocomplete on or off. → When autocomplete is on, the browser automatically complete values based on values that the user has entered before.
5️⃣ The Novalidate Attribute → The novalidate attribute is a boolean attribute. → When present, it specifies that the form-data (input) should not be validated when submitted.
Thanks for reading this thread ❤️ If you like it , make sure you: 🔷 Like the tweet 🔷 Retweet the first tweet ⚡ For more content , follow: @MrunayU
Avatar

Mrunay Uttarwar

@MrunayU

🌐 Front End Dev 💻 Transitioning into Web3 🚀 Content Creator 📝 Always learning and sharing my journey 💻 Let's connect and geek out!