Input Email placeholder Attribute
Definition and Usage
placeholder
Set or return the value of the placeholder attribute of the email field.
The HTML placeholder attribute specifies a brief hint that describes the expected value of the email field (for example, a sample value or a brief description of the expected format).
A short hint will be displayed in the text field before the user enters a value.
See also:
HTML Reference Manual:HTML <input> placeholder প্রতিশব্দ ধারা
Example
Example 1
Change the placeholder text of the email field:
document.getElementById("myEmail").placeholder = "Your Email address";
Example 2
Get the placeholder text of the email field:
var x = document.getElementById("myEmail").placeholder;
Syntax
Return placeholder attribute:
emailObject.placeholder
set placeholder attribute:
emailObject.placeholder = text
প্রতিমান
মান | বর্ণনা |
---|---|
text | শর্তটি ইমেইল ফিল্ডের প্রত্যাশিত মানকে সংক্ষিপ্তভাবে (শব্দ বা পদ) বর্ণনা করে |
প্রযুক্তিগত বিবরণ
ফলাফল: | শব্দমালা মান, যা ইমেইল ফিল্ডের প্রত্যাশিত মানকে সংক্ষিপ্তভাবে বর্ণনা করে |
---|
ব্রাউজার সমর্থন
তালিকায় উল্লিখিত সংখ্যা এই অবজেক্টটির প্রথম সম্পূর্ণরূপে সমর্থনকারী ব্রাউজারের সংস্করণ
চ্রোম | এডজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
---|---|---|---|---|
চ্রোম | এডজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
সমর্থন | 10.0 | সমর্থন | সমর্থন | সমর্থন |