Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the unlimited-elements-for-elementor domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /web/htdocs/www.servizigratis.com/home/wp-includes/functions.php on line 6114
Che cos'è l'attributo required? Quando si usa? - ServiziGratis.com
Vai al contenuto

Che cos’è l’attributo required? Quando si usa?

Required è un attributo che viene utilizzato nei form, è di tipo bloccante ovvero quando si utilizza con un elemento di tipo input, select o textarea, restituisce un errore tipo tooltip che segnala che il dato è richiesto. Pertanto il submit del form non verrà inviato affichè il campo non verrà riempito.

Questo è in breve l’attributo required e abbiamo visto in quali elementi può essere utilizzato.