এই IE4 ডকুমেন্ট অবজেক্ট মডেল (DOM) মাইক্রোসফটের ইন্টারনেট এক্সপ্লোরার ব্রাউজারের সংস্করণ 4 এ প্রবর্তিত হয়েছে। IE 5 এবং পরবর্তী সংস্করণগুলিতে বেশিরভাগ মৌলিক W3C DOM বৈশিষ্ট্যগুলির জন্য সমর্থন রয়েছে৷
উদাহরণ
W3C DOM পদ্ধতি ব্যবহার করে নথির বৈশিষ্ট্যগুলি অ্যাক্সেস করতে, আপনি নিম্নলিখিত কোড চালানোর চেষ্টা করতে পারেন -
<html>
<head>
<title> Document Title </title>
<script type="text/javascript">
<!--
function myFunc() {
var ret = document.getElementsByTagName("title");
alert("Document Title : " + ret[0].text );
var ret = document.getElementById("heading");
alert(ret.innerHTML );
}
//-->
</script>
</head>
<body>
<h1 id="heading">This is main title</h1>
<p>Click the following to see the result:</p>
<form id="form1" name="FirstForm">
<input type = "button" value = "Click Me" onclick = "myFunc();" />
<input type = "button" value = "Cancel">
</form>
<form d="form2" name="SecondForm">
<input type = "button" value = "Don't ClickMe"/>
</form>
</body>
</html>