
উদাহরণ প্রোগ্রাম
<html>
<head>
<title> Badal World </title>
</head>
<body bgcolor=" pink">
<center>
<h2 style="color: blue">This is a test iframe for tutorial </h2><br />
<iframe src="http://www.tutohost.com/bangla/html/" width="350" height="170">
<p>This rowser does not support iframes.</p>
</iframe>
</center>
</body>
</html>
<head>
<title> Badal World </title>
</head>
<body bgcolor=" pink">
<center>
<h2 style="color: blue">This is a test iframe for tutorial </h2><br />
<iframe src="http://www.tutohost.com/bangla/html/" width="350" height="170">
<p>This rowser does not support iframes.</p>
</iframe>
</center>
</body>
</html>
একটা নোটপ্যাড open করে উপরের code টুকু লিখে file মেনু থেকে Save as এ ক্লিক করে File name: index.html , Save as type : All files, দিয়ে save করে index.html ফাইলটি Mozilla Firefox দিয়ে open করলে নিচে প্রদর্শিত ছবির মত দেখাবে।
প্রোগ্রাম আলোচনা
আই ফ্রেম তৈরির জন্য <iframe></iframe> ট্যাগ ব্যবহার করা হয়।width="350" height="170" এই দুটি এট্রিবিউটের মাধ্যমে আই ফ্রেম এর আকৃতি কেমন হবে তার নির্দেশ প্রদান করা হয়।
যদি কোন ব্রাউজার আই ফ্রেম সাপোর্ট না করে তাহলে <p>This rowser does not support iframes.</p> এর জন্য This rowser does not support iframes. লেখাটি প্রদর্শিত হবে।
আই ফ্রেম এর ব্যবহার
Reviewed by Chef
on
9:45:00 PM
Rating:

No comments: