HTML DOM Source ওবজেক্ট
Source object
The Source object is a new object in HTML5.
The Source object represents the HTML <source> element.
Access Source object
You can access the <source> element by using getElementById():
var x = document.getElementById("mySource");
Create Source object
You can create a <source> element by using the document.createElement() method:
var x = document.createElement("SOURCE");
Source object properties
এট্রিবিউট | description |
---|---|
media | set or return the value of the media attribute of the <source> element. |
src | set or return the value of the src attribute of the <source> element. |
type | সেট করা কিংবা রিটার্ন করা <source> ইলেমেন্টের type এট্রিবিউটের মান |
সংশ্লিষ্ট পৃষ্ঠা
HTML রেফারেন্স ম্যানুয়েল:HTML <source> ট্যাগ