Mrunay Uttarwar
Mrunay Uttarwar

@MrunayU

13 تغريدة Aug 19, 2022
🔷 About HTML Form Elements - 2
A Thread🧵 👇
4️⃣ The <textarea> Element
→ The <textarea> element defines a multi-line input field (a text area).
→ The rows attribute specifies the visible number of lines in a text area.
→ The cols attribute specifies the visible width of a text area.
→ You can also define the size of the text area by using CSS.
5️⃣ The <button> Element
→ The <button> element defines a clickable button.
⛔ Note:- Always specify the type attribute for the <button> element.
Result in Web Browser
6️⃣ & 7️⃣ The <fieldset> and <legend> Elements
→ The <fieldset> element is used to group related data in a form.
→ The <legend> element defines a caption for the <fieldset> element.
Result in Web Browser
8️⃣ The <datalist> Element
→ The <datalist> element specifies a list of pre-defined options for an <input> element.
→ Users will see a drop-down list of the pre-defined options as they input data.
→ The list attribute of the <input> element, must refer to the id attribute of the <datalist> element.
9️⃣ The <output> Element
→ The <output> element represents the result of a calculation (like one performed by a script).
→ Perform a calculation and show the result in an <output> element.
1️⃣0️⃣ The <optgroup> Element
→ The <optgroup> tag is used to group related options in a <select> element (drop-down list).
→ Groups of related options are easier to handle for a user.
Thanks for reading this thread ❤️
If you like it , make sure you:
🔷 Like the tweet
🔷 Retweet the first tweet ⚡
For more content , follow:
@MrunayU
You can read the unrolled version of this thread here: typefully.com

جاري تحميل الاقتراحات...