Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 4 : /

Advertisement

Detailed Solution

सही उत्तर / है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

A registration form must force the user to enter an email address and reject entries without '@'. The minimal correct markup uses / पंजीकरण फॉर्म में उपयोगकर्ता से ईमेल पता अनिवार्य रूप से भरवाना है और '@' रहित प्रविष्टियाँ अस्वीकार करनी हैं। न्यूनतम सही मार्कअप उपयोग करता है

1.
<input type="text" validate="email"> / <input type="text" validate="email">
2.
<input type="email" optional> / <input type="email" optional>
3.
<input type="text" required="false" pattern="email"> / <input type="text" required="false" pattern="email">
4.
<input type="email" required> / <input type="email" required>

Correct Answer: <input type="email" required> / <input type="email" required>

The email input type triggers built-in format checking and required blocks empty submission; the other attributes shown are not real HTML attributes for this purpose. / email इनपुट प्रकार अंतर्निहित प्रारूप जाँच करता है और required रिक्त प्रस्तुति रोकता है; दिखाए गए अन्य एट्रिब्यूट इस प्रयोजन हेतु वास्तविक HTML एट्रिब्यूट नहीं हैं।

Downloaded from PrepSnap (prepsnap.in)