--- url: "https://web.dev/learn/forms/form-element" titulek: "Use forms to get data from users | web.dev" h1: "Use forms to get data from users Stay organized with collections Save and categorize content based on your preferences." popis: ">-" jazyk: "en" kanonicka: "https://web.dev/learn/forms/form-element" drobecky: ["web.dev", "Resources", "Forms"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 23:13:13" znaku: 4350 slov: 678 kodovani: "iso-8859-2" sha256: "fb2cd5d68acfdeca8e617f909ddd16b82acc2016af89d83885ef2c99aec1606a" --- Use forms to get data from users Stay organized with collections Save and categorize content based on your preferences. Learn the basics of using a form on the web with this introduction to the form element. Imagine you want to ask people on your website about their favorite animal. As a first step, you need a way to collect the data. In HTML, you can build this using the form element (`
`), an `` with a `