Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML


Thread Tools Rate Thread Display Modes
Old 02-28-2018, 10:13 PM   #1
Registered User
Join Date: Nov 2017
Posts: 3,786
What is the use of required attribute in HTML5?

What is the use of required attribute in HTML5?
sunled is offline   Reply With Quote

Old 03-01-2018, 12:36 AM   #2
Registered User
Join Date: Sep 2015
Location: UK
Posts: 625
The required attribute is a boolean attribute.

When present, it specifies that an input field must be filled out before submitting the form.

Note: The required attribute works with the following input types: text, search, url, tel, email, password, date pickers, number, checkbox, radio, and file.
smmexpertss is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML5 for desktop application development? Jack Hard Java 1 10-01-2014 10:02 AM
how to use html5 attribute 'role'? arronmattwills Graphic Design 1 02-01-2014 05:03 AM
No Follow Attribute in yahoo Search Result ? hollown Yahoo 3 09-28-2012 01:50 AM
any side effect of using HTML alt attribute? cianfie Programming General 3 02-26-2012 07:48 PM
controlling the cellspacing attribute and cellpadding attribute cioafua Programming General 1 01-18-2012 11:26 AM

All times are GMT -7. The time now is 02:02 AM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.