HTML DOM Source ওবজেক্ট

  • পূর্ববর্তী পৃষ্ঠা <small>
  • পরবর্তী পৃষ্ঠা <span>

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");

try it yourself

Create Source object

You can create a <source> element by using the document.createElement() method:

var x = document.createElement("SOURCE");

try it yourself

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 এট্রিবিউটের মান

স্ট্যান্ডার্ড এট্রিবিউট এবং ইভেন্ট

Source ওবজেক্ট স্ট্যান্ডার্ড সমর্থনএট্রিবিউটএবংইভেন্ট

সংশ্লিষ্ট পৃষ্ঠা

HTML রেফারেন্স ম্যানুয়েল:HTML <source> ট্যাগ

  • পূর্ববর্তী পৃষ্ঠা <small>
  • পরবর্তী পৃষ্ঠা <span>