Categories
5G Network
Agile
Amazon EC2
Android
Angular
Ansible
Arduino
Artificial Intelligence
Augmented Reality
AWS
Azure
Big Data
Blockchain
BootStrap
Cache Teachniques
Cassandra
Commercial Insurance
C#
C++
Cloud
CD
CI
Cyber Security
Data Handling
Data using R
Data Science
DBMS
Design-Pattern
DevOps
ECMAScript
Fortify
Ethical Hacking
Framework
GIT
GIT Slack
Gradle
Hadoop
HBase
HDFS
Hibernate
Hive
HTML
Image Processing
IOT
JavaScript
Java
Jenkins
Jira
JUnit
Kibana
Linux
Machine Learning
MangoDB
MVC
NGINX
Onsen UI
Oracle
PHP
Python
QTP
R Language
Regression Analysis
React JS
Robotic
Salesforce
SAP
Selenium
Service Discovery
Service Now
SOAP UI
Spark SQL
Testing
TOGAF
Research Method
Virtual Reality
Vue.js
Home
Recent Q&A
Feedback
Ask a Question
What is the use of the required attribute in HTML5?
Home
HTML
What is the use of the required attribute in HTML5?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
Q:
What is the use of the required attribute in HTML5?
html-attribute
html5
Answer
▼ Show
1
Answer
0
votes
answered
Oct 24, 2019
by
rajeshsharma
It forces a user to fill text on the text field or text area before submitting the form. It is used for form validation.
Example:
Name: <input type="text" name="name" required>
HTML
Learn More with Madanswer
Related questions
+1
vote
Q: Which of the following attribute is used to provide a unique name to an element?
asked
Jan 28
in
HTML
by
SakshiSharma
html-element
html-attribute
html-tags
0
votes
Q: What is the canvas element in HTML5?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
html5
canvas-html
+1
vote
Q: How are tags migrated from HTML4 to HTML5?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
html4
html5
html4-vs-html5
0
votes
Q: Which value of Socket.readyState atribute of WebSocket indicates that the connection has been closed or could not be opened?
asked
Dec 2, 2020
in
HTML
by
Sandeepthukran
html5
html
0
votes
Q: What are the different new form element types in HTML 5?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
html5-element
html5
element-types
element-html5
0
votes
Q: Which HTML5 tag would you use to define footer?
asked
Feb 11, 2020
in
HTML
by
rahuljain1
#html-footer
0
votes
Q: In HTML5, which of the following tag is used to initialize the document type?
asked
Jan 29
in
HTML
by
rajeshsharma
html-document-type
document-type-html5
...