HTML DOM Output অবজেক্ট
Output object
The Output object represents the HTML <output> element.
Note:Internet Explorer / Edge does not support the <output> element.
Access Output object
You can use getElementById() to access the <output> element:
var x = document.getElementById("myOutput");
Hint:You can also access the <output> element by searching the element collection of the form.
create Output object
You can use the document.createElement() method to create a <output> element:
var x = document.createElement("OUTPUT");
Output object properties
অপারিতা | description |
---|---|
defaultValue | set or return the default value of the <output> element. |
form | return a reference to the form containing the <output> element. |
htmlFor | return the value of the for attribute of the <output> element. |
labels | return the list of <label> elements associated with the <output> element. |
name | set or return the value of the name attribute of the <output> element. |
type | return the type of HTML element represented by the Output object. |
value | set or return the value of the <output> element. |
সংশ্লিষ্ট পৃষ্ঠা
HTML পরামর্শপত্রঃHTML <output> ট্যাগ