Bold & Italic
বোল্ড (bold)
এইচটিএমএল ডকুমেন্টে কোন লেখা গাঢ় (বোল্ড) করে দেখানোর দরকার হলে <b></b> ব্যবহার করা হয়। body এলিমেন্টের ভিতর যেকোন এইচটিএমএল এলিমেন্টের অভ্যন্তরে b ট্যাগ ব্যবহার করা যায়।
যেমন
1.
<
p
><
b
>Webcoachbd</
b
> is the largest <
b
>Bengali</
b
> tutorial site to learn Web Development</
p
>
প্রদর্শন:
Webcoachbd is the largest Bengali tutorial site to learn Web Development
b ট্যাগের পরিবের্তে strong নামে আরেকটি ট্যাগ ব্যবাহর করা যায়, একই কাজ শুধু পার্থক্য হল SEO তে। strong বেশি SEO friendly
ইটালিক টেক্সট
==============
<i></i> ট্যাগ দিয়ে বাকানো বা ইটালিক টেক্সট দেখানো যায়। যেমন
1.
<
p
><
i
>Webcoachbd</
i
> is the largest <
i
>Bengali</
i
> tutorial site to learn Web Development</
p
>
প্রদর্শন:
Webcoachbd is the largest Bengali tutorial site to learn Web Development
i ট্যাগের পরিবর্তে em নামে একটা ট্যাগ আছে ব্যবহার করতে পারেন, একই কাজ।
একসাথে এগুলি ব্যবহার করতে পারেন।
1.
<
p
><
b
>Webcoachbd</
b
> is the largest <
strong
>Bengali</
strong
> tutorial site to learn <
i
>Web Development</
i
></
p
>
প্রদর্শন
Webcoachbd is the largest Bengali tutorial site to learn Web Development
** এই এলিমেন্টগুলির কোন নিজের বিশেষ এট্রিবিউট নেই তবে যেকোন গ্লোবাল এট্রিবিউট ব্যবহার করা যাবে।
Background
bgcolor এট্রিবিউট টি বিশেষভাবে ওয়েব পেজ এবং টেবিলের ব্যাকগ্রাউন্ড নিয়ন্ত্রন করে। Bgcolor এট্রিবিউট টিকে অনেক এইচটিএমএল ট্যাগ এর মধ্যে ব্যাবহার করা যায় তবে সবচেয়ে ভাল হয় <body> এবং <table> ট্যাগ এর মধ্যে ব্যাবহার করলে। অতিরিক্ত হিসাবে ব্যাকগ্রাউন্ড স্টাইল করতে চাইলে সিএসএস ব্যাকগ্রাউন্ড(CSS টিউটোরিয়ালে আরোচনা করা হয়েছে) দেখতে পারেন।
গঠন:
<tagname bgcolor ="value">
1.
<
body
bgcolor
=
"Silver"
>
2.
<
p
>We set the background of this paragraph to be silver. The body tag is
3.
where you change the pages background. Now continue the lesson to
4.
learn more about adding background colors in your HTML!
5.
</
p
>
6.
</
body
>
প্রদর্শন:
We set the background of this paragraph to be silver. The body tag is where you change the pages background. Now continue the lesson to learn more about adding background colors in your HTML!
টেবিলের ব্যাকগ্রাউন্ড এ কালার যোগ করা :
01.
<
table
bgcolor
=
"lime"
border
=
"1"
><
tr
>
02.
<
td
>A lime colored table background using color names.</
td
>
03.
</
tr
></
table
>
04.
05.
06.
<
table
bgcolor
=
"#ff0000"
border
=
"1"
><
tr
>
07.
<
td
>A red colored table background using hexadecimal values "#FF0000".</
td
>
08.
</
tr
></
table
>
09.
10.
11.
<
table
bgcolor
=
"rgb(0, 0, 255)"
border
=
"1"
><
tr
>
12.
<
td
>A blue colored table background using RGB values "rgb(0, 0, 255)".</
td
>
13.
</
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)". |
টেবিলের সারি এবং কলামে কালার যোগ করা:
1.
<
table
>
2.
<
tr
bgcolor
=
"#FFFF00"
><
td
>This Row is Yellow!</
td
></
tr
>
3.
<
tr
bgcolor
=
"#AAAAAA"
><
td
>This Row is Gray!</
td
></
tr
>
4.
<
tr
bgcolor
=
"#FFFF00"
><
td
>This Row is Yellow!</
td
></
tr
>
5.
<
tr
bgcolor
=
"#AAAAAA"
><
td
>This Row is Gray!</
td
></
tr
>
6.
<
tr
bgcolor
=
"#FFFF00"
><
td
>This Row is Yellow!</
td
></
tr
>
7.
<
tr
bgcolor
=
"#AAAAAA"
><
td
>This Row is Gray!</
td
></
tr
>
8.
</
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! |
একত্রে ব্যাকগ্রাউন্ড color এবং font color:
1.
<
table
bgcolor
=
"#000000"
>
2.
<
tr
><
td
bgcolor
=
"#009900"
>
3.
<
font
color
=
"#FFFF00"
align
=
"right"
>Green Bay</
font
></
td
>
4.
<
td
><
font
color
=
"#FFFFFF"
>13</
font
></
td
></
tr
>
5.
<
tr
><
td
bgcolor
=
"#0000FF"
>
6.
<
font
color
=
"#DDDDDD"
align
=
"right"
>New England</
font
></
td
>
7.
<
td
><
font
color
=
"#FFFFFF"
>27</
font
></
td
></
tr
>
8.
</
table
>
প্রদর্শন:
Green Bay | 13 |
New England | 27 |
1.
<
table
bgcolor
=
"#777777"
>
2.
<
tr
><
td
>
3.
<
p
><
font
face
=
"Monotype Corsiva, Verdana"
size
=
"4"
color
=
"#00FF00"
>
4.
This paragraph tag has...
5.
</
font
></
p
>
6.
</
td
></
tr
>
7.
</
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. |