আজ যে বিষয় টি নিয়ে আলোচনা বা ক্লাস দেওয়া হবে তা হল ওয়েব সাইট এর ব্যাকগ্রাউন্ড নিয়ে। ত আসুন চিত্র সহ ক্লাস শুরু করা যাক ।bgcolor এট্রিবিউট ওয়েব পেজ এবং টেবিল এর ব্যাকগ্রাউন্ড নিয়ন্ত্রন করে। Bgcolor এট্রিবিউট টিকে অনেক এইচটিএমএল ট্যাগ এর মধ্যে ব্যাবহার করা । যায় তবে ভাল হয় <body> এবং <table> ট্যাগ এর মধ্যে ব্যাবহার করলে।
কারণ সুন্দর করে ব্যাকগ্রাউন্ড দেওয়ার জন্য css ব্যবহার করা ভাল। আরো BackGround ডিজাইন করতে চাইলে css অনুসরণ করুন।
গঠন:
<tagname bgcolor ="value">
<body bgcolor="Silver">
<p> We see that this is a background make on this paragraph this color is Silver. So pls see this easily and make you won color.
</p>
</body>
<table bgcolor="lime" border="1"><tr>
<td>A lime colored table background using color names.</td>
</tr></table>
<table bgcolor="#ff0000" border="1"><tr>
<td>A red colored table background using hexadecimal values "#FF0000".</td>
</tr></table>
<table bgcolor="rgb(0, 0, 255)" border="1"><tr>
<td>A blue colored table background using RGB values "rgb(0, 0, 255)".</td>
</tr></table>
প্রদর্শন:
A lime colored table background using color names.
A red colored table background using hexadecimal values "#FF0000".
A blue colored table background using RGB values "rgb(0, 0, 255)".
টেবিলের সারি এবং কলামে কালার যোগ করা:
<table>
<tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr>
<tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr>
<tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr>
<tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr>
<tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr>
<tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr>
</table>
প্রদর্শন:
একত্রে ব্যাকগ্রাউন্ড color এবং font color:
<table bgcolor="#000000">
<tr><td bgcolor="#009900">
<font color="#FFFF00" align="right">Green Bay</font></td>
<td><font color="#FFFFFF">13</font></td></tr>
<tr><td bgcolor="#0000FF">
<font color="#DDDDDD" align="right">New England</font></td>
<td><font color="#FFFFFF">27</font></td></tr>
</table>
প্রদর্শন:
কারণ সুন্দর করে ব্যাকগ্রাউন্ড দেওয়ার জন্য css ব্যবহার করা ভাল। আরো BackGround ডিজাইন করতে চাইলে css অনুসরণ করুন।
গঠন:
<tagname bgcolor ="value">
<body bgcolor="Silver">
<p> We see that this is a background make on this paragraph this color is Silver. So pls see this easily and make you won color.
</p>
</body>
প্রদর্শন:
We see that this is a
background make on this paragraph this color is Silver. So pls see this easily
and make you won color.
টেবিলের ব্যাকগ্রাউন্ড এ কালার যোগ করা : <table bgcolor="lime" border="1"><tr>
<td>A lime colored table background using color names.</td>
</tr></table>
<table bgcolor="#ff0000" border="1"><tr>
<td>A red colored table background using hexadecimal values "#FF0000".</td>
</tr></table>
<table bgcolor="rgb(0, 0, 255)" border="1"><tr>
<td>A blue colored table background using RGB values "rgb(0, 0, 255)".</td>
</tr></table>
প্রদর্শন:
A lime colored table background using color names.
A red colored table background using hexadecimal values "#FF0000".
A blue colored table background using RGB values "rgb(0, 0, 255)".
টেবিলের সারি এবং কলামে কালার যোগ করা:
<table>
<tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr>
<tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr>
<tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr>
<tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr>
<tr bgcolor="#FFFF00"><td>This Row is Yellow!</td></tr>
<tr bgcolor="#AAAAAA"><td>This Row is Gray!</td></tr>
</table>
প্রদর্শন:
|
This Row is Yellow!
|
|
This Row is Gray!
|
|
This Row is Yellow!
|
|
This Row is Gray!
|
|
This Row is Yellow!
|
|
This Row is Gray!
|
<table bgcolor="#000000">
<tr><td bgcolor="#009900">
<font color="#FFFF00" align="right">Green Bay</font></td>
<td><font color="#FFFFFF">13</font></td></tr>
<tr><td bgcolor="#0000FF">
<font color="#DDDDDD" align="right">New England</font></td>
<td><font color="#FFFFFF">27</font></td></tr>
</table>
প্রদর্শন:
|
Green Bay
|
13
|
|
New England
|
27
|
<table bgcolor="#777777">
<tr><td>
<p><font face="Monotype Corsiva, Verdana"
size="4" color="#00FF00">
This paragraph tag has...
</font></p>
</td></tr>
</table>
|
প্রদর্শন:
This paragraph tag has a gray background with green colored font.
You should see Monotype Corsiva font if you have it installed, or Verdana as
the backup. Both fonts are widely accepted as standard fonts. |





0 আপনার মতামত:
Post a Comment
আপনার যদি ভাল লাগে তাহলে আমরা খুশি হব। আমাদের অনুপ্রেরণা জানাতে কমেন্ট করুন আমাদের কে । আমরা আপনাকে আরও ভাল পোস্ট দেওয়ার চেষ্ঠা করব।
ভাই আমি যে বিষয় গুলো জানি তা পোস্ট করি ।
(বি:দ্র: যদি মনে হয় আমি এই বিষয় টি কপি করেছি তাহলে হ্যা কপি করেছি । কারণ আমি বিষয় টি সম্পর্কে কিছু জানি আর অন্য কে জানাতে পারি আরও সহজ ভাবে লিখি। ভাই অংক দুই ভাবে করা যায় একটি হচ্ছে সহজে আর একটি নিয়ম হচ্ছে কঠিন নিয়ম। আমি সহজ এবং সঠিক নিয়মে যদি কোন বিষয় প্রকাশ করি তাহলে ত হল। এতে করে যে লোক গুলো ভাল ভাবে কম্পিউটার জানে না তারা জানতে পারবে। আপনি কী চান না আমাদের দেশের সকল লোক কম্পিউটার সম্পর্কে জানুক? বি:দ্র টি লেখলাম য়ারা কম্পিউটার সম্পকে ভালে বা বেশি জানেন তাদের জন্য )