HTML 5 Bangla Tutorial
HTML 5 Bangla Tutorial
HTML 5 Bangla Tutorial
Aavq-15
GBP wU Gg Gj 5
cieZx fvmb : 2.0 [ Aviv wKQz ewk ]
HTML 4 & 5
mcv`bvq
eyKwewW
www.bookbd.info
GBP wU Gg Gj 5
Aavq-15
www.bookbd.info
eyKwewW nQ evsjv`kx cdkbvj evsjv eB mg~ni IqemvBU| hLvb _K Avcwb B-eyK
webv g~j WvDbjvW KiZ cvieb| h eBjv AvcbvK AvBwU AvDUmvwms-G
cdkbvj Kvwiqvi Mo ZzjZ mvnvh Kie| G QvovI wbR wbR Kvb cKvi Uwbs
QvovB h Kvb welqi Dci cdkbvj `Zv ARb KiZ cvib GB eBjv co| Avi
Avcbv`i Kvb civgk _vKj AekB Avgv`iK Rvbveb, GB wVKvbvq [email protected].
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
jLK
^Z
: jLK
cKvkK
: [email protected]
[email protected]
cKvkKvj
cQ`
gKvc
: wekwRr `vm
KvR
gy`Y
: bvfv cm G cvewjKk
15/we, wgicyi ivW XvKv-1205|
dvb t 9667919
ISBN
: 978-984-90538-0-4
g~j
GBP wU Gg Gj 5
Aavq-15
DrmM
Avy wgmm mvwdqv eMg
Ges
Avey gvt knx`Dj- v cvUvqvix|
GBP wU Gg Gj 5
Aavq-15
KZZv
Bgivb nvmb
Iqe cdkbvj (mvD_ Gwkqvb AvBwmwU)
abev` t
1. gvt kwid nvmb (wknve), Iqe cdkbvj (mvD_ Gwkqvb AvBwmwU)
2. mvjgvb Rybvq`, Iqe cdkbvj (mvD_ Gwkqvb AvBwmwU)
3. Zvbfxi Bmjvg, Iqe cdkbvj (mvD_ Gwkqvb AvBwmwU)
4. wmKv`vi ev`kv, wmBI (e KwgDwbKkbm)
GBP wU Gg Gj 5
Aavq-15
wd wmwW
1. eBwUi mv_ GKwU wd wmwW AvQ|
2. eBq eeZ mKj KvWmg~n D wmwWZ `qv AvQ|
3. eBq eeZ mKj cRmg~n D wmwWZ `qv AvQ|
cwiekK/cvw vb
6
GBP wU Gg Gj 5
Aavq-15
fwgKv
7
GBP wU Gg Gj 5
Aavq-15
gvbe mfZvi Rb wevbi Avkxev` ^ic AmsL Ae`vb Gi ga eenvi I cqvRbxqZvi w`K
w`q kxl Aevb KiQ KwDUvi bvgK hwU| Avi eZgvb KwDUvi bvgK GB hwUi mv_
hy nqQ Avi GK gnvN welq - BUvibU| BUvibU Avwefvei `iY Avgv`i `bw`b
Rxeb Z_v hvMvhvM eev, jLvcov, webv`b, Kbv-KvUv BZvw` me wKQzB nq DVQ mnR
_K mnRvi| gyn~Zi gaB BUvibU Z_v IqemvBUi gvag Avgiv Avgv`i Kvb
KvwLZ Z_ nvwQj wKsev wewfb cqvRb gUvZ mg nwQ| Avi mB mv_ cvj- v w`q evoQ
IqemvBU wWRvBb ev Zwii Pvwn`v| IqemvBU ZwiZ wewfb cvMvwgs jvsqR, vBj kxU
Gi ga HTML (Hyper Text Markup Language) eenvi evaZvg~jK|
GBPwUGgGjK IqecBR Zwii wfwI ejv nq _vK| GBPwUGgGj eenvi Ki wbRi
IqemvBU Zwi Kivi cvkvcvwk PvBj AvDUmvwms Gi gvag AvZKgmsvb GiI evcK
myhvM iqQ| Kbbv, eZgvb jvKvj gvKUc- m Ges dxjvws h Kvb GwiqvZB GKRb
GBPwUGgGj Wfjcvii Pvwn`v AbK| Avi mnR Ges ^ mgq GBPwUGgGj kLvi Rb
jLKi GB GBPwUGgGj-5 eBwU AbZg GK cqvm| GKRb GBPwUGgGj GcvU nq
KvR KiZ h mKj welqjv mK my vb _vKv cqvRb (cvivMvd, UU digvwUs,
wjsK, BgR, dg, Uwej, AwWI, wfwWI BZvw`), Zvi cwZwU welq mnR I myzfve GB eBwUZ
AvjvPbv Kiv nqQ| cvkvcvwk GBPwUGgGj eenvi Ki ek wKQz eveg~Lx cRi eenvi
`Lvbv nqQ, hvZ Ki cvVKiv eve Rxeb KvR Kivi mgK aviYv jvf KiZ cvib|
jLKi K_v
8
GBP wU Gg Gj 5
Aavq-15
gnvb Avj- vn& ZvAvjvi Akl Kwiqv, evsjv`k gvZfvlvq GBPwUGgGj-5 eBwU cvVK`i
nvZ Zzj `evi Rb| `ki AMwYZ cvVK`i
Pvwn`v Avi AbyivaB AvgvK GB eBwU jLvi AbyciYv hywMqQ|
eZgvb DbZ weki mv_ Zvj wgwjq Pjv, wKsev wbRi GKwU Aevb Zwi Kivi Rb gvbyl AvR
h Kvb GKwU welqi Dci ` nQb| G KwDUvi cvMvwgsK cQb djvi Kvb
myhvMB bB| gvbyqi wbZ-bZzb Pvwn`v, wKsev wewfb mgmv mgvavb BUvibU Z_v IqemvBU
Gi eenvi Ab^xKvh| DbZ weki gvbyliv Zv GLb Zv`i `bw`b KvR-Kg, wKsev Pvwn`v me
BUvibUi gvagB c~iY KiQb| cwZw`b Zviv Zv`i Pvwn`v c~iY wfwRU KiQb wewfb
aiYi IqemvBU| wfwRUi`i GmKj Pvwn`v c~iY Zwi nQ bvbv aiYi IqemvBU| hjv
ZwiZ eeZ nQ wewfb aiYi cvMvwgs jvsqR| Zba GBPwUGgGj (gvKAvc
jvsqR) AbZg, hwU IqemvBU ZwiZ wfw wnme KvR Ki| hnZz, w`b w`b IqemvBU
Zwi Z_v Iqe wWRvBwbs-Gi Pvwn`v ew cvQ, mnZz ejv hvq, GKRb Iqe wWRvBbvi nq
wbR Kgmsvbi GK Avkvc~Y w`K DbvPb Kiv me| Avgv`i `ki AvBwU Kvvbxjv
AvR Zv`i Pvwn`v Abymvi ` Ges Dchy nvi Iqe wWRvBbvi cvQb bv| ZvQvov, GLb Zv
gvbyl PvKzwii Rb Avi kni kni Nyi eovQb bv| BUvibUi Kjvb AvR Zviv Ni emB
cPzi cwigvY A_ DcvRb KiZ mg nQ| Zviv AvR BUvibUi gvagB Zv`i Kgmsvbi
c_ cmvwiZ KiQ| ZvB Avwg Avgvi GB eBwUK Ggbfve Dcvcb Kivi Pv KiwQ, hb Zv
mKji wbKU mnR evaMg nq| mekl, mKji mvdj Kvgbv KiwQ, Avwggvt wgRvbyi ingvb
facebook.com/ebookbd
facebook.com/mijanurrahmanbd
www.bookbd.info
[email protected]
m~wPc
GBPwUGgGj-5
9
GBP wU Gg Gj 5
Aavq
Aavq-15
cv
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
Aavq-1
16
GBP wU Gg Gj 5
Aavq-15
GBPwUGgGj (HTML)
wbq cv_wgK AvjvPbv
17
GBP wU Gg Gj 5
Aavq-15
Text:Text ejZ g~jZ Avgiv hv coZ cvwi| GwU Kvb k ev ki mgwK eySvq|
GBP wU Gg Gj 5
Aavq-15
19
GBP wU Gg Gj 5
Aavq-15
20
GBP wU Gg Gj 5
Aavq-15
21
GBP wU Gg Gj 5
Aavq-15
Aavq-2
HTML
evwmK
GBP wU Gg Gj 5
Aavq-15
IqecR Gi KbUUK evDRvi c`kb Kivi Rb wewfb aiYi UvM eenvi nq _vK| GBPwUGgGj UvM
jv AbKUv BDRvi djx| BDRvi djx ejZ HTML UvM jv Avq Kiv Abvb cvMvwgs jvsqR
Gi gZv Zgb Kmva bq| evDRvi HTML G eeZ UvM Gi Dci wfw Ki KbUUK c`wkZ Ki| hgb
: jLvK ev Kivi Rb b UvM, AvvijvBb Kivi Rb u UvM eeZ nq _vK| wK ck nQ, Zvnj
mvaviY UU Ges UvM Gi ga cv_K wK ? HTML UvM jLvi g~jZ wKQz wbqg iqQ|
cwZwU HTML UvM < (less than Sign) w`q i KiZ nq|
Gici UvM Gi bvg Dj- L KiZ nq|
Ges mekl > (greater than Sign) w`q UvM kl KiZ nq|
hgb t <a>, <b>, <img />, <code> BZvw`|
Note : HTML UvM jv Km mbwmwUf bq, Ze W3C vvW Abyhvqx QvU Ai jLv fvj|
HTML G Kvb UUK wewfb UvM Gi gvag jLvi mgq cwZwU UvMK `yBevi Ki eenvi KiZ nq|
Gjv nj t
_vK| hgb t <br>, <hr>, <img>, <input> BZvw`| GB UvM jvK GwU UvM (Empty Tags) ejv
nq _vK| GB UvMjvi Kvb KvwRs UvM bB| Ze W3C vvW Abyhvqx GmKj GwU UvMjvKI
KvR Kiv DwPZ| GRb UvM Gi bvgi kl Ges greather than mvBb Gi c~e GKwU m ( ) Ges GKwU
dU - vk "/" eenvi KiZ nq| A_vr t <br />, <hr />
GBP wU Gg Gj 5
Aavq-15
HTML UvM G eeZ welqmg~ni wewfb cwieZb mvab, wewfb AvwK Dcvcb Kiv, mywbw`fve cKvk
Kivi Rb UvM Gi ga wewfb AvwUweDU eenvii cqvRb nq _vK| Avi GmKj AvwUweDU Gi eenvi
/KvRK mywbw` KiZ, GZ wewfb fvwjD eeZ nq| hgb t <p> UvM eenvi Ki hLb Kvb UU jLv
nq, ZLb ^vfvweK wbqg GwU evDRvi G evg w`K _K i nq| GLb Avwg hw` GB UUK evDRvi Gi Wvb
w`K _K i KiZ PvB, A_vr Wvb w`K _K c`kb KiZ PvB-Ze <p> UvM G wbPi gZv AvwUweDU I
fvwjD eenvi KiZ ne|
<p dir="rtl"> This line will be shown as right to left in browser </p>
GLvb <p> nQ UvM, dir nQ D <p> UvM Gi AvwUweDU Ges rtl nQ dir AvwUweDU G eeZ fvwjD|
Note : mKj UvM AvwUweDU eenvi nq bv| Avevi mKj UvMI me aiYi AvwUweDU mvcvU Ki bv| Avgiv
cieZx AavqjvZ G mK wevwiZ Rvbev|
AvwUweDU
fvwjD
Attr
Val
Attr
Val
Attr
Val
Note : fvwjD AvmvBb Kivi mgq KvUkb eenvi Kiv AvekK| wmsMj Ges Wvej KvUkb - Dfq cwZB
eenvi Kiv hve|
24
GBP wU Gg Gj 5
Aavq-15
HTML cRi Kvb UvMK wbw`fve mbv Kivi Rb id AvwUweDU eenvi Kiv nq
_vK| HTML cRK hLb Kvb CSS A_ev JavaScript dvBji mv_ wjsK Kiv nq, ZLb HTML Gi
UvMK id AvwUweDU eenvi Gi gvag D CSS A_ev JavaScript dvBj h_vh_ KvR mv`b Ki _vK|
hgb t-
2.3.3.1 t id
<div id="attribute">
2.3.3.2 t class
div#attribute
class AvwUweDU eenvi Kiv nq _vK| hgb t Kvb GKwU HTML cRi ga 4wU <p> UvM iqQ| GLb
Avwg hw` GB 4wU <p> UvMK Avjv`v-Avjv`vfve mbv KiZ PvB, Ze class Attribute Gi gvag
msvwqZ KiZ ne| hgb t
HTML dvBj class attribute Gi eenvi
<p class="attr1">
p.attr1
<p class="attr2">
p.attr2
<p class="attr3">
p.attr3
<p class="attr4">
p.attr4
Note : HTML id Ges class AvwUweDU Gi fvwjD Km-mbwmwUf| fvwjD wnme h Kvb bvg nZ cvi,
mB gvb ai CSS A_ev JavaScript cqvRbxq KvR mv`b Kie| fvwjD AekB jUvi w`q i nZ
ne Ges cieZxZ bv^vi (0-9), nvBdb (-), Avvivi ( _ ), Kgv (.) eenvi Kiv hZ cvi|
2.3.3.3 t title HTML cRi Kvb BwjgUK (BwjgU wbq cieZx AavqjvZ wevwiZ AvjvPbv
Kiv nqQ) evDRvi wb`k Kivi Rb title AvwUweDU eenvi Kiv nq _vK| title AvwUweDU mvaviYZ
<a>, <area>, <img>, <link>, <abbr>, <acronym> UvMjvZ ewk eeZ nq _vK| eBqi
cieZx AavqjvZ title AvwUweDU Gi eenvi `Lvbv nqQ|
25
GBP wU Gg Gj 5
Aavq-15
HTML cR GK jvBb wewk Kvb BwjgU vBj (Inline CSS) cqvM Kivi Rb
style AvwUweDU eenvi Kiv nq _vK| hgb t-wbPi <p> UvM vBj AvwUweDU eenvi Ki Gi dU I
Kvjvi cwieZb Kiv nqQ|
2.3.3.4 t style
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
wP : 2.8.1 (Start
GBP wU Gg Gj 5
Aavq-15
30
GBP wU Gg Gj 5
Aavq-15
wP : 2.8.7 (File
c_g Save in Gi cvki Wc-WvDb wj _K Gi jvKkb, A_vr dvBjwU Kv_vq wMq msiwZ ne, Zv
wVK Ki w`B| Gevi dvBjwUi Rb GKwU bvg w`Z ne Ges bvgi kl AekB .html GUbkb eenvi
KiZ ne| wbPi gZv File name Gi Ni Avgv`i dvBj Gi Rb GKwU bvg wjwL|
1
2
GBP wU Gg Gj 5
Aavq-15
GLvb GKwU welq jbxq h, HTML dvBj Gi bvg Kvb nvqvBU m (" ") eenvi Kiv hve bv| nvqvBU
m Gi cwieZ nvBdb ("-") A_ev Avvivi ("_") eenvi KiZ cvib|
Gevi Save as type wd nZ All Files wmj Kib|
GBP wU Gg Gj 5
Aavq-15
avc-4 t AvDUcyU
GLb Avgiv Avgv`i Zwi Kiv GBPwUGgGj Gi AvDUcyU `Lev| GRb c_g Avgiv Avgv`i dvBjwU h
wWiixZ mf KiwQ, mLvb Pj hvB|
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
GLb Avgiv GB HTML dvBj Gi cwZwU UvM mK Rvbev|
Avgv`i HTML dvBjwU <html> (html Gi Icwbs UvM) w`q i nqQ Ges kl nqQ </html>
(html Gi KvwRs UvM) eenvi Ki| A_vr wbqgvbymvi <html> Ges </html> UvM Gi wfZi Abvb UvM
I KbUU eeZ nqQ|
<html>
</html>
<html> Gi ci <head> UvM eenvi Kiv nqQ| <head> mKkb Gi wfZi wewfb vBj, w eenvi
Kiv nq _vK| wbqgvbymvi head mKkbK (<head> </head>) body UvM i nIqvi AvMB KvR Kiv
nqQ| head mKkb wbq eBqi cieZxZ wevwiZ AvjvPbv Kiv nqQ|
<html>
<head>
</head>
</html>
<head> mKkbi wfZi <title> bvg GKwU UvM eenvi Kiv nqQ| GB UvMwU IqecRi
UvBUj/wkivbvg aviY Ki| UvBUj UvM eenvi Ki cieZxZ Avgiv cvKwUKvjx AbK KvR `Lev|
<title> This is my first HTML Program ;) </title>
<html>
<head>
<title> This is my first HTML Program ;) </title>
</head>
</html>
wbP evDRvi UvBUj UvM Gi AvDUcyU `Lvbv nj t
34
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
36
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dci Avgiv This is a comment. The Comment line(s) w...jvBbwUK KgU UvM Gi wfZi iLwQ,
ZvB GwU evDRvi c`wkZ ne bv| wK wbPi jvBbwU wVKB evDRvi c`wkZ ne| GLb cRwU evDRvi ivb
Kivj wbPi gZv c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
2.11.1.1 t Strict
GBPwUGgGj 4.01 fvmb Dchy WKzgU digvU GwU| Kvb WwcKUW UvM, AvwUweDU, dgmU GB
WKzgU digvU eenvihvM bq| GwU jLvi wbqg t
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
2.11.1.2 t Transitional
AbK mgq AvcbvK Avcbvi IqecBR WwcKUW AvwUweDU, UvM eenvii cqvRb nZ cvi| m
GB WKzgU UvBcwU Dj- L KiZ nq|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
2.11.1.3 t Frameset
dgmU eenvi Ki IqecBR ZwiZ GB WKzgU UvBcwU Dj- L KiZ nq|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
GBP wU Gg Gj 5
Aavq-15
39
GBP wU Gg Gj 5
Aavq-15
40
GBP wU Gg Gj 5
Aavq-15
Aavq-3
HTML BwjgUm
(Elements)
GBP wU Gg Gj 5
Aavq-15
BwjgU ejZ hLb GBPwUGgGj Gi Kvb UvM Gi cwic~Y eenvi nq, ZLb H cyiv UvM Gi eenviK GKwU
BwjgU ej| hgb t- <p> GKwU UvM| hLb GB p UvMwUi m~Y eenvi ne, ZLb cyiv welqwU wgj GwU
ne p BwjgU|
wP : 3.1.1 (p BwjgU)|
1) GLvb <p> nQ Icwbs UvM
2) This is Paragraph Text nQ p UvM Gi KbUU
3) Ges </p> nQ KvwRs UvM
GLb GB cyiv welqwU wgj GwUK ejv ne <p> BwjgU|
wbP Aviv wKQz D`vniY Gi gvag welqwU mK cwivi nIqv hvK -
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
<html>
<head>
<title>
<body>
45
GBP wU Gg Gj 5
Aavq-15
wP : 3.1.3.1.1 (IqecRi mvm KvW `Lvi Rb cRi Dci gvDmi Wvb evUb wKK Kiv )|
Gevi wbPi wPi gZv GB cRwUi mvm KvW Pj Avme|
46
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
<title>
<style>
<base>
<link>
<meta>
<script> Ges
<noscript>
48
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
AvDUcyU t
KvW wek- lY t
Dcii HTML dvBjwUZ Avgiv <title> BwjgUK wbqgvbymvi <head> mKkb Gi wfZi iLwQ|
GBP wU Gg Gj 5
Aavq-15
51
GBP wU Gg Gj 5
Aavq-15
AvDUcyU t
Dcii dvBjwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU c`wkZ ne|
Contents
GBP wU Gg Gj 5
Aavq-15
KvW wek- lb t
wP : 3.1.3.4.1.4 (IqemvBUi KbUUK <body> Gi Icwbs Ges KvwRs UvM Gi wfZi ivLv )|
GLvb IqemvBU c`kbi Rb KbUUmg~nK <body> BwjgU Gi wfZi jLv nqQ|
53
GBP wU Gg Gj 5
Aavq-15
3.1.3.4.1.1.1 t alink
"active link" Gi msw ic nQ "alink". GB AvwUweDU eenvi Ki wjsKi Kvjvi wbaviY Ki `qv
nq| wfwRUi hLb IqecR eeZ Kvb wjsKi Dci wKK Ki, ZLb GB AvwUweDUwU KvR Ki| A_vr,
Kvb wjsKi Dci wKK Kivi mgq "alink" AvwUweDU G eenvi Kiv KvjviwU c`wkZ ne|
Value :
alink AvwUweDU value/gvb wnme Color wbaviY Kiv nq| GBPwUGgGj G wZbfve Kvjvi wbaviY Kiv
hvq|
1. Color name (Kvjvi Gi bvg eenvi Ki - hgbt "green");
2. RGB (Red, Greeen & Blue) Code - RGB gvb, hgb t rgb (0,0,0) eenvi Ki
3. Hex (Hexadecimal) KvW eenvi Ki - hgb t- "#0000FF"|
GBPwUGgj Kvjvi wbq eBqi cieZxZ wevwiZ AvjvPbv Kiv nqQ|
wjLvi wbqg t
<body alink="Color_name A_ev RGB_Code A_ev Hex_Code">
wbP alink AvwUweDU Gi eenvi `Lvbv njv t
cvMvg bs-2 (p2.html) <body> BwjgU G alink AvwUweDU Gi eenvi|
<html>
<body alink="red">
<p><a href="http://www.w3schools.com">W3Schools.com</a></p>
<p><a href="http://www.w3schools.com/html/">HTML Tutorial</a></p>
<p><b>Note:</b> If using color names, different browsers may render different
colors, and Firefox have problems if the attribute value is in RGB code (will not display
correct color).</p>
<p><b>Tip:</b> To produce equal results in all browsers, always use hex code to
specify colors.</p>
54
GBP wU Gg Gj 5
Aavq-15
<p>However, the alink attribute was deprecated in HTML 4, and is not supported in
HTML 4.01 Strict DTD or in XHTML 1.0 Strict DTD. Use CSS instead.</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <body alink="red"> Gi gvag alink AvwUweDU Gi fvwjD wnme jvj Kvjvi eenvi
Kiv nqQ| GLvb Avgiv Kvjvi Gi bvg Dj- L Ki KvRwU KiwQ| PvBj RGB A_ev Hexadecimal
Code eenvi KiI KvRwU KiZ cviZvg| Gi wbP <p><a href="http://www.w3schools.com">
W3Schools.com </a></p> Ges <p> <a href="http://www.w3schools.com/html/">HTML
Tutorial </a></p> jvBb `ywUi gvag IqecR `ywU wjsK Zwi Kiv nqQ| (wjsK wbq eBqi cieZxZ
wevwiZ AvjvPbv Kiv nqQ)|
GLb cRwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
GBP wU Gg Gj 5
Aavq-15
3.1.3.4.1.1.2 t background
IqecRi evKMvD BgR eenvii Rb GB AvwUweDUwU eenvi Kiv nq _vK|
Value :
background AvwUweDU Gi fvwjD/gvb wnme URL (Uniform Resource Locator), A_vr wjsK
eenvi Kiv nq| A_vr hLvb _K Avcwb BgRwU eenvi KiZ PvQb, mLvbKvi wjsK GLvb Dj- L Ki
w`Z nq| G `yB aiYi wjsK eenvi Kiv nq| h_v t
1. Absolute URL : hLb Ab Kvb IqemvBUi wjsK eenvi Kiv nq, ZLb GwUK Absolute
URL ejv nq| hgb t (www.anotherwebsite.com/images/body_image.jpeg)
2. Relative URL : hLb GKB IqemvBUi Kvb wjsK eenvi Kiv nq, ZLb GwUK Relative
URL ejv nq| hgb t (images/body_image.jpeg)
wjsK Ges BgR wbq Avgiv eBqi cieZxZ wevwiZ Rvbev|
wjLvi wbqg t
<body background="URL of image">
wbP background AvwUweDU Gi eenvi `Lvbv njv t
56
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg eKMvD BgRi Rb GKwU Absolute Url "<body
background="http://pubpages.unh.edu/~cas254/html.jpg">" eenvi Kiv nqQ|
GLb cRwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg evKMvD BgRi Rb Background AvwUweDU G GKwU Relative URL "<body
background="images/grey.jpg">" eenvi Kiv nqQ|
GLb cRwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
3.1.3.4.1.1.3 t bgcolor
IqecRi evKMvD Kvjvi eenvi Kivi Rb bgcolor AvwUweDUwU eenvi Kiv nq|
Value :
bgcolor AvwUweDU value/gvb wnme Color wbaviY Kiv nq| GBPwUGgGj G wZbfve Kvjvi wbaviY Kiv
hvq|
1. Color name (Kvjvi Gi bvg eenvi Ki - hgb t "green,red,yellow");
2. RGB (Red, Greeen & Blue) Code - RGB gvb, hgb t rgb(0,0,0) eenvi Ki
58
GBP wU Gg Gj 5
Aavq-15
wjLvi wbqg t
<body bgcolor="Color_name A_ev RGB_Code A_ev Hex_Code">
KvW wek- lY t
Dcii cvMvg-IqecRi evKMvD G Kvjvi `qvi Rb "<body bgcolor="A52A2A">" jvBbwU
eenvi Kiv nqQ| GLvb Brown (ev`vwg) KvjviwU wbevPb Kiv nqQ Ges Kvjvi Gi Rb Hex_Code
"A52A2A" eenvi Kiv nqQ|
GLb Dcii cRwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
59
GBP wU Gg Gj 5
Aavq-15
3.1.3.4.1.1.4 t link
IqecR eeZ mKj wjsK Gi Kvjvi mU Kivi Rb GB link AvwUweDUwU eeZ nq _vK|
Value :
link AvwUweDU value/gvb wnme Color wbaviY Kiv nq| GBPwUGgGj G wZbfve Kvjvi wbaviY Kiv hvq|
1. Color name (Kvjvi Gi bvg eenvi Ki - hgbt "green,red,yellow");
2. RGB (Red, Greeen & Blue) Code - RGB gvb, hgb t rgb (0,0,0) eenvi Ki
3. Hex (Hexadecimal) KvW eenvi Ki - hgb t- "#0000FF"|
GBPwUGgj Kvjvi wbq eBqi cieZxZ wevwiZ AvjvPbv Kiv nqQ|
wjLvi wbqg t
<body link="Color_Name A_ev RGB_Code A_ev Hex_Code">
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-6 (p6.html) <body> BwjgU G link AvwUweDU Gi eenvi|
<html>
<body link="red">
<p><a href="http://www.bookbd.info">BookBD</a></p>
<p><a href="http://www.facebook.com">Facebook</a></p>
<p><b>Note:</b> If using color names, different browsers may render different
colors, and Firefox have problems if the attribute value is in RGB code (will not display
correct color).</p>
<p><b>Tip:</b> To produce equal results in all browsers, always use hex code to
specify colors.</p>
<p>However, the link attribute was deprecated in HTML 4, and is not supported
in HTML 4.01 Strict DTD or in XHTML 1.0 Strict DTD. Use CSS instead.</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg-IqecR eeZ cwZwU wjsK Gi Kvjvi wbaviY Ki `qvi Rb "<body link="red">"
jvBbwU eenvi Kiv nqQ| GLvb green (meyR) KvjviwU wbevPb Kiv nqQ Ges Kvjvi Gi Rb
Color_Name "red" eenvi Kiv nqQ| cvMvgwUZ <p><a href="http://www.bookbd.info">
BookBD </a></p> Ges <p> <a href="http://www.facebook.com">Facebook </a></p>
jvBb `ywUi gvag IqecR `ywU wjsK Zwi Kiv nqQ| (wjsK wbq eBqi cieZxZ wevwiZ AvjvPbv
Kiv nqQ)|
GLb cRwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
GBP wU Gg Gj 5
Aavq-15
Dcii wP j Kij `Lv hve h, Avgv`i cR BookBD Ges Facebook bvg h `ywU wjsK eenvi
Kiv nqQ, <body link="red"> jvBbwU eenvii KviY mjv jvj isq c`wkZ nQ|
Note :
*) HTML 5 "link" AvwUweDU mvcvU Ki bv|
*) HTML 4.01 fvmb GwUK Deprecated (AewPZ) Nvlbv Kiv nq|
*) Gi cwieZ CSS eenvi Kiv hZ cvi|
3.1.3.4.1.1.5 t text
IqecR eeZ mKj UU Gi Kvjvi mU Kivi Rb GB text AvwUweDUwU eeZ nq _vK|
Value :
text AvwUweDU value/gvb wnme Color wbaviY Kiv nq| GBPwUGgGj G wZbfve Kvjvi wbaviY Kiv hvq|
1. Color name (Kvjvi Gi bvg eenvi Ki - hgbt "green,red,yellow");
2. RGB (Red, Greeen & Blue) Code - RGB gvb, hgb t rgb (0,0,0) eenvi Ki
3. Hex (Hexadecimal) KvW eenvi Ki - hgb t- "#0000FF"|
GBPwUGgGj Kvjvi wbq eBqi cieZxZ wevwiZ AvjvPbv Kiv nqQ|
wjLvi wbqg t
<body text="Color_Name A_ev RGB_Code A_ev Hex_Code">
KvW wek- lY t
62
GBP wU Gg Gj 5
Aavq-15
Dcii cvMvg -IqecR eeZ cwZwU UU Gi Kvjvi wbaviY Ki `qvi Rb "<body text="
#FFD700">" jvBbwU eenvi Kiv nqQ| GLvb gold (mvbvjx) KvjviwU wbevPb Kiv nqQ Ges Kvjvi Gi
Rb Hex_Code "#FFD700" eenvi Kiv nqQ|
GLb cRwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
3.1.3.4.1.1.6 t vlink
Visited link Gi msw ic nQ vlink. Visited link ejZ h mKj wjsK c~e wfwRU Kiv nqQ/wKK
Kiv nqQ, m mKj wjsK Gi Kvjvi vlink AvwUweDU Gi gvag wbaviY Ki `qv hvq|
Value :
text AvwUweDU value/gvb wnme Color wbaviY Kiv nq| GBPwUGgGj G wZbfve Kvjvi wbaviY Kiv hvq|
1. Color name (Kvjvi Gi bvg eenvi Ki - hgb t "green, red, yellow");
2. RGB (Red, Greeen & Blue) Code - RGB gvb, hgb t rgb(0,0,0) eenvi Ki
3. Hex (Hexadecimal) KvW eenvi Ki - hgb t- "#0000FF"|
GBPwUGgGj Kvjvi wbq eBqi cieZxZ wevwiZ AvjvPbv Kiv nqQ|
wjLvi wbqg t
<body vlink="Color_Name A_ev RGB_Code A_ev Hex_Code">
GBP wU Gg Gj 5
Aavq-15
<html>
<body vlink="yellow">
<p><a href="http://www.youtube.com"> Youtube </a></p>
<p><a href="http://www.twitter.com"> Twitter </a></p>
<p><b>Note:</b> If using color names, different browsers may render different
colors, and Firefox have problems if the attribute value is in RGB code (will not display
correct color).</p>
<p><b>Tip:</b> To produce equal results in all browsers, always use hex code to
specify colors.</p>
<p>However, the vlink attribute was deprecated in HTML 4, and is not supported
in HTML 4.01 Strict DTD or in XHTML 1.0 Strict DTD. Use CSS instead.</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg-wfwRUW wjsKmg~ni Kvjvi wbaviY Ki `qvi Rb "<body vlink="yellow">" jvBbwU
eenvi Kiv nqQ| GLvb yellow (njy`) KvjviwU wbevPb Kiv nqQ Ges Kvjvi Gi Rb Color_Name
"yellow" eenvi Kiv nqQ|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
64
GBP wU Gg Gj 5
Aavq-15
Dcii wP Youtube Ges Twitter h `ywU wjsK `Lv hvQ, mjvi Kvjvi bxj `Lv hvQ| wK Avgiv
Avgv`i cvMvg njy` Kvjvi eenvi KiwQjvg| Gi KviY nQ, GB wjsKjv GLbv wfwRU/wKK Kiv nqwb|
Avi wWdfve wjsK Gi Kvjvi bxj _vK| Gme welq mK Avgiv GBPwUGgGj wjsK mKkb wevwiZ
Rvbev|
GLb Dcii wjsK `ywUi h Kvb GKwUi (Twitter) Dci wKK Kwi Ges cybivq GB cRwUZ wdi Avwm|
Zvnj Avgiv wbPi wPi gZv D Twitter wjsKwUi Kvjvi cwieZb (njy` Kvjvi) `LZ cvev|
Note :
*) HTML 5 "link" AvwUweDU mvcvU Ki bv|
*) HTML 4.01 fvmb GwUK Deprecated (AewPZ) Nvlbv Kiv nq|
*) Gi cwieZ CSS eenvi Kiv hZ cvi|
65
GBP wU Gg Gj 5
Aavq-15
66
GBP wU Gg Gj 5
Aavq-15
Aavq - 4
GBPwUGgGj UU digvwUs
(HTML Text Formatting)
Avgiv hLb Kvb IqemvBU wfwRU Kwi, ZLb mLvb wewfb aiYi UU (jLv) `LZ cvB| wewfb aiYi
UU ejZ - UUK wewfbfve mvRvbv nq _vK| hgb t jLvK ev Kiv, AvvijvBb Kiv, cvivMvd
67
GBP wU Gg Gj 5
Aavq-15
AvKvi wjLv, jLvi Kvjvi cwieZb Kiv, dU cwieZb Kiv BZvw`| Avcbviv hviv gvBvmdU IqvW G KvR
KiQb, Zviv Rvbb - jLvK Ggb wewfb AvwK cKvk Kiv Kej wKQz Ackb wKK Kiv gv| hgb t "b"
evUb wKK Ki jLvK ev Kiv, "Font color" Ackb _K wewfb Kvjvi wbevPb Kiv, "Font size" Ackb
_K jLvi AvKvi cwieZb Kiv BZvw`| GBPwUGgGj GI welqjv AbKUv GKB, Ze cv_K njv
gvBvmdU IqvW G hgb KvRjv Avgiv wKK Ki Ki KiwQ, Avi GLvb gvbyqvjx KvW wjL wjL KiZ
ne| cqvRb ne wewfb BwjgU eenvi Kivi| eenvii w`K _K Gme BwjgUmg~nK Avevi wewfb fvM
fvM Kiv nqQ| GLb Avgiv Gme BwjgUm mK wevwiZ Rvbev|
68
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-12 (p12.html) nwWs 4 Gi eenvi|
<html>
<body>
<h4> This is Heading 4 </h4>
</body>
</html>
GLb dvBjwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
GLb dvBjwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
KvW wek- lY t
Dcii cvMvg GBPwUGgGj Gi mKj nwWs BwjgU (<h1> _K <h6>) Gi eenvi `Lvbv nqQ|
GLvb nwWs 1 BwjgU (<h1> </h1>) Gi wfZi "This is Heading 1The largest one" jLvUzKz
evDRvi mePq eo AvKvi c`wkZ ne| nwWs 2 BwjgU (<h2> </h2>) Gi wfZi "This is Heading 2
The larger one" jLvUzKz evDRvi nwWs 1 BwjgU Gi PvBZ QvU AvKvi c`wkZ ne| Gfve
gvbymvi jLvi AvKvi QvU nq Avme|
GLb dvBjwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
71
GBP wU Gg Gj 5
Aavq-15
wP : 4.1.1.7 (GBPwUGgGj Gi mKj nwWs BwjgU eenvi Ki evDRvi Zvi AvDUcyU `Lv)|
Dci Avgiv GBPwUGgGj Gi mKj nwWs BwjgUmg~ni AvDUcyU `LZ cvwQ| GLb ck nQ, Kvb
Kvb nwWswU eenvi Kiev?? nv !! g~jZ welqei iZc~YZvi g Abymvi Gme nwWs BwjgU Gi eenvi
nq _vK| Kvb welqei cavb mKkb/wkivbvgK nwWs 1 (<h1>) BwjgU Gi ga jLv nq _vK| Zvi
Pq GKUz Kg iZc~Y mKkbK nwWs 2 (<h2>) BwjgU Gi ga jLv nq _vK| Avevi Zvi PqI GKUz
Kg iZc~Y mKkbK nwWs 3 (<h3>) BwjgU Gi ga jLv nq _vK| Ze GLvb jbxq welq nQ,
Dcii cvMvg eenvi Kiv (<h4>, <h5> Ges <h6>) nwWsmg~ni AvDUcyU AbKUv ^vfvweK UU Gi
gZvB c`wkZ nQ| G wfwRUi eySZ cvie bv h, KvbwU Avmj nwWs Avi KvbwU bigvj UU|
ZvQvov, mvP Bwb AcwUgvBRkb Gi I h_vh_ nwWs BwjgU Gi eenvi GKwU iZc~Y welq| ZvB
nwWs BwjgU eenvi h_vh_ Kkj eenvi Kiv hZ cvi| Avi Ggb wewfb Kkjmg~n jLKi mvP Bwb
AcwUgvBRkb Ges AvWfvW mvP Bwb AcwUgvBRkb eB `ywUZ I wevwiZfve Zzj aiv nqQ,
hjv Abymib Ki AvcwbI Avcbvi IqemvBUK mvP Bwb iRvi kxl wbq AvmZ cvib|
wbP nwWs BwjgU Gi Aviv GKwU D`vniY Gi gvag welqwU mK cwivi nIqv hvK t
cvMvg bs-16 (p16.html) nwWs BwjgUmg~ni eenvi|
<html>
<head>
<title> The example of Heading Elements </title>
</head>
<body>
<h1> Web Designing </h1>
<p> To learn or work professionally as being a Web Designer, you must have the
knowledge of HTML, CSS & Photoshop at least. For further you can learn also . . . . . . . .
. . . . . . . </p>
<h2> HTML (HyperText Markup Language) </h2>
72
GBP wU Gg Gj 5
Aavq-15
<p> HTML stands for HyperText Markup Language. Developed by scientist Tim
Berners-Lee in 1990, HTML is the "hidden" code that helps us communicate with others
on the World Wide Web (WWW). </p>
<h2> CSS (Cascading Style Sheet) </h2>
<p> Cascading Style Sheets (CSS) is a style sheet language used for describing
the presentation semantics (the look and formatting) of a document written in a markup
language. Its most common application is to style web pages written in HTML and
XHTML, but the language can also be applied to any kind of XML document, including
plain XML, SVG and XUL. </p>
</body>
</html>
Dcii cvMvgwUZ Avwg "Web Designing" jLvwUZ nwWs 1 (<h1>) eenvi KiwQ, KviY-GB jvBbwUK
Avwg cavb wkivbvg wnme Dj- L KiZ PvwQ| cieZxZ Avwg "HTML (HyperText Markup
Language)" Ges "CSS (Cascading Style Sheet)" GB `ywU RvqMvq nwWs 2 (<h2>) eenvi KiwQ, KviYGB jLv `ywUK Avwg "Web Designing" Gi Dc-wkivbvg wnme Dj- L KiZ PvwQ| Avkv Kwi welqwU
eySZ ciQb|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.1.1.8 (nwWs 1 Ges nwWs 2 BwjgU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
"Web Designing" jLvwUZ nwWs 1 eenvi Kivi KviY GwU evDRvi mePq eo AvKvi c`wkZ nQ|
Abw`K, "HTML (HyperText Markup Language)" Ges "CSS (Cascading Style Sheet)" jLv
`y'wUZ nwWs 2 eenvi Kivi KviY GwU evDRvi nwWs 1 Gi PvBZ wKQzUv QvU AvKvi c`wkZ nQ|
73
GBP wU Gg Gj 5
Aavq-15
4.1.1.1.1 t align
Alignment Gi msw ic nQ align. nwWsmg~ni w`K wb`k Kivi Rb align AvwUweDU eenvi nq
_vK|
Value :
align AvwUweDU value/gvb wnme wewfb w`K wb`k Kiv nq _vK| Gjv njv t
1. left : wWdfve left fvwjD wbaviY Kiv _vK| left fvwjD eenvi evDRvii evg w`K _K
nwWs i ne|
2. right : right fvwjD eenvi evDRvii Wvb w`K _K nwWs i ne|
3. center : center fvwjD eenvi evDRvii gvSLvb _K nwWs i nq|
4. justify : Gi eenvi wbq Avgiv cieZxZ AvjvPbv Kiev| Kbbv, nwWs BwjgU Gi
GwU KLbvB eeZ nq bv|
wjLvi wbqg t
<h1-h6 align="left A_ev right A_ev center A_ev justify">
t left
cvMvg bs-17 (p17.html) align AvwUweDU G left fvwjD Gi eenvi|
<!DOCTYPE html>
<html>
<head>
<title> Use of Align Attribute in HTML Heading Element </title>
</head>
<body>
<h1 align="left"> Left Alignment </h1>
<p> The Heading Text will be displayed as Left-aligned in Browser. </p>
</body>
</html>
KvW wek- lY t
74
GBP wU Gg Gj 5
Aavq-15
Dcii cvMvg <h1 align="left"> eenvi GB nwWs Gi wfZi Gi jLvUzKz evDRvi Gi evg w`K _K
c`wkZ ne|
GLb cRwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
wP : 4.1.1.1.1.1.1 (align AvwUweDU left fvwjD eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
Dcii wP Left Alignment nwWsUzKzK Avgiv evDRvi Gi evg w`K `LZ cvwQ-Kbbv, align
AvwUweDU Gi value/gvb left eenvi Kiv nqQ|
4.1.1.1.1.2 t right
cvMvg bs-18 (p18.html) align AvwUweDU G right fvwjD Gi eenvi|
<!DOCTYPE html>
<html>
<head>
<title> Use of Align Attribute in HTML Heading Element </title>
</head>
<body>
<h1 align="right"> Right Alignment </h1>
<p> The Heading Text will be displayed as Right-aligned in Browser. </p>
</body>
</html>
KvW wek- lY
Dcii cvMvg <h1 align="right"> eenvi GB nwWs Gi wfZi Gi jLvUzKz evDRvi Gi Wvb w`K _K
c`wkZ ne|
GLb cRwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
75
GBP wU Gg Gj 5
Aavq-15
wP : 4.1.1.1.1.2.1 (align AvwUweDU right fvwjD eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
Dcii wP Right Alignment nwWsUzKzK Avgiv evDRvi Gi Wvb w`K `LZ cvwQ-Kbbv, align
AvwUweDU Gi value/gvb right eenvi Kiv nqQ|
4.1.1.1.1.3 t center
cvMvg bs-19 (p19.html) align AvwUweDU G center fvwjD Gi eenvi|
<html>
<head>
<title> Use of Align Attribute in HTML Heading Element </title>
</head>
<body>
<h1 align="center"> Center Alignment </h1>
<p> The Heading Text will be displayed as Center-aligned in Browser. </p>
</body>
</html>
KvW wek- lb
Dcii cvMvg <h1 align="center"> eenvi GB nwWs Gi wfZi Gi jLvUzKz evDRvi Gi gvSLvb _K
c`wkZ ne|
GLb cRwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
76
GBP wU Gg Gj 5
Aavq-15
wP : 4.1.1.1.1.3.1 (align AvwUweDU center fvwjD eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
Dcii wP Center Alignment nwWsUzKzK Avgiv evDRvi Gi gvSLvb `LZ cvwQ-Kbbv, align
AvwUweDU Gi value/gvb center eenvi Kiv nqQ|
Note :
*) HTML 5 - <alink> AvwUweDU mvcvU Ki bv|
*) HTML 4.01 fvmb GwUK Deprecated (AewPZ) Nvlbv Kiv nq|
*) Gi cwieZ CSS eenvi Kiv hZ cvi|
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-21 (p21.html) Paragraph BwjgU Gi eenvi|
<html>
<head>
<title> The example of Paragraph Element </title>
</head>
<body>
<h1 align="center"> Paragraph Element </h1>
<p> This is a paragraph. This is a paragraph. This is a paragraph. This is a
paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a
paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a
paragraph. This is a paragraph. </p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <h1 align="center"> eenvi Ki GKwU nwWs BwjgU eenvi Kiv nqQ, hwU evDRvii
gvSLvb _K c`wkZ ne| Ges wbP cvivMvd (<p>) BwjgU Gi gvS wKQz jLv nqQ, hv evDRvi
cvivMvd AvKvi c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
GBP wU Gg Gj 5
Aavq-15
1. left : wWdfve left fvwjD wbaviY Kiv _vK| left fvwjD eenvi evDRvii evg w`K _K
cvivMvd i ne|
2. right : right fvwjD eenvi evDRvii Wvb w`K _K cvivMvd i ne|
3. center : center fvwjD eenvi evDRvii gvSLvb _K cvivMvd i ne|
4. justify : Kvb cv/AvwUKj jLvi Rb mePq fvjv digvU GwU| Gi gvag jLvjv
evg w`K _K i nq Ges cwZwU jvBb i _K kl ch mgvb _vK|
wjLvi wbqg t
<p align ="left A_ev right A_ev center A_ev justify">
KvW wek- lY t
Dcii cvMvg <h1 align="center"> eenvi GB nwWs BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi
gvSLvb _K c`wkZ ne| Gi wbP cvivMvd BwjgU G left-alignment A_vr <p align="left"> eenvi
GB cvivMvd BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi evg w`K _K c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
79
GBP wU Gg Gj 5
Aavq-15
wP : 4.1.2.1.1.1.1 (align AvwUweDU left fvwjD eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
t right
cvMvg bs-23 (p23.html) align AvwUweDU G right fvwjD Gi eenvi|
<html>
<head>
<title> Use of Align Attribute in HTML Paragraph Element </title>
</head>
<body>
<h1 align="center"> Right Alignment in Paragraph Element </h1>
<p align="right"> This Paragraph will be displayed from right to left in browser.
</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <h1 align="center"> eenvi GB nwWs BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi
gvSLvb _K c`wkZ ne| Gi wbP cvivMvd BwjgU G right-alignment A_vr <p align="right">
eenvi GB GB cvivMvd BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi Wvb w`K _K c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
80
GBP wU Gg Gj 5
Aavq-15
wP : 4.1.2.1.1.2.1 (align AvwUweDU right fvwjD eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
t center
cvMvg bs-24 (p24.html) align AvwUweDU G center fvwjD Gi eenvi|
<html>
<head>
<title> Use of Align Attribute in HTML Paragraph Element </title>
</head>
<body>
<h1 align="center"> Right Alignment in Paragraph Element </h1>
<p align="center"> This Paragraph will be displayed as center-alignment in
browser. </p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <h1 align="center"> eenvi GB nwWs BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi
gvSLvb _K c`wkZ ne| Gi wbP cvivMvd BwjgU G center-alignment A_vr <p align="center">
eenvi GB GB cvivMvd BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi gvSLvb _K c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
81
GBP wU Gg Gj 5
Aavq-15
wP : 4.1.2.1.1.3.1 (align AvwUweDU center fvwjD eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
t justify
cvMvg bs-25 (p25.html) align AvwUweDU G justify fvwjD Gi eenvi|
<html>
<head>
<title> Use of Align Attribute in HTML Paragraph Element </title>
</head>
<body>
<h1 align="center"> Justify Alignment in Paragraph Element </h1>
<p align="justify"> This Paragraph will be displayed as justify-alignment in
browser. All the lines in this Paragraph will be shown in equal. This Paragraph will be
displayed as justify-alignment in browser. All the lines in this Paragraph will be shown in
equal. This Paragraph will be displayed as justify-alignment in browser. All the lines in
this Paragraph will be shown in equal. This Paragraph will be displayed as justifyalignment in browser. All the lines in this Paragraph will be shown in equal. This
Paragraph will be displayed as justify-alignment in browser All the lines in this
Paragraph will be shown in </p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <h1 align="center"> eenvi GB nwWs BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi
gvSLvb _K c`wkZ ne| Gi wbP cvivMvd BwjgU G justify-alignment A_vr <p align="justify">
eenvi GB GB cvivMvd BwjgU Gi wfZi cwZwU jvBb i _K kl ch mgvb _vKe|
82
GBP wU Gg Gj 5
Aavq-15
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
wP : 4.1.2.1.1.4.1 (align AvwUweDU justify fvwjD eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
Note :
*) HTML 5 - <align> AvwUweDU mvcvU Ki bv|
*) HTML 4.01 fvmb GwUK Deprecated (AewPZ) Nvlbv Kiv nq|
*) Gi cwieZ CSS eenvi Kiv hZ cvi|
wjLvi wbqg t
<p style="CSS Property:Value; CSS Property2:Value2; CSS Property3:Value3;">
GLvb CSS Property:CSS Value Gi gvS GKwU Kvjb eenvi KiZ nq Ges GKvwaK UgvU (ccvwU
I fvwjD) _vKj G`i mwg-Kvjb w`q c_K KiZ nq|
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg <p style="color:red;"> eenvi GB cvivMvd BwjgU Gi wfZi Gi jLvUzKz evDRvi
jvj Kvjvi c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
wP : 4.1.2.1.2.1 (cvivMvd BwjgU style AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv )|
cvMvg bs-27 (p27.html) cvivMvd BwjgU vBj AvwUweDU Gi eenvi|
<html>
<head>
<title> Use of Style Attribute in HTML Paragraph Element </title>
</head>
<body>
<h1 align="center"> Use of Style Element </h1>
<p style="color:red; text-align:center"> This Paragraph will be shown as Red
color and Center-aligned. This Paragraph will be shown as Red color and Center-aligned
This Paragraph will be shown as Red color and Center-aligned This Paragraph will be
shown as Red color and Center-aligned This Paragraph will be shown as Red color and
84
GBP wU Gg Gj 5
Aavq-15
Center-aligned This Paragraph will be shown as Red color and Center-aligned This
Paragraph will be shown as Red color and Center-aligned </p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <p style="color:red; text-align:center;"> eenvi GB cvivMvd BwjgU Gi wfZi Gi
jLvUzKz evDRvi jvj Kvjvi Ges evDRvi Gi gvSLvb _K c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
4.1.2.1.2.2 (cvivMvd BwjgU style AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
cvMvg bs-28 (p28.html) cvivMvd BwjgU vBj AvwUweDU Gi eenvi|
<html>
<head>
<title> Use of Style Attribute in HTML Paragraph Element </title>
</head>
<body>
<h1 align="center"> Use of Style Element </h1>
<p style="color:red; text-align:center; font-size:20px;"> This Paragraph will be
shown as Red color and Center-aligned & the Font size would be larger than normal. This
Paragraph will be shown as Red color and Center-aligned & the Font size would be larger
than normal. This Paragraph will be shown as Red color and Center-aligned & the Font
size would be larger than normal. </p>
</body>
</html>
85
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg <p style="color:red; text-align:center; font-size:20px;"> eenvi GB cvivMvd
BwjgU Gi wfZi Gi jLvUzKz evDRvi jvj Kvjvi Ges evDRvi Gi gvSLvb _K c`wkZ ne Ges Gi
wfZii UU Gi mvBR ne 20 wcj| (Font BwjgU wbq Avgiv eBqi cieZxZ wevwiZ AvjvPbv
Kiev|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
wP : 4.1.2.1.2.3 (cvivMvd BwjgU style AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv )|
cvMvg bs-29 (p29.html) cvivMvd BwjgU vBj AvwUweDU Gi eenvi|
<head>
<title> Use of Style Attribute in HTML Paragraph Element </title>
</head>
<body>
<h1 align="center"> Use of Style Element </h1>
<p style="color:red; text-align:center; text-transform:capitalize;"> This Paragraph
will be shown as Red color and Center-aligned & all the 1st letters of every words will be
capitalized. This Paragraph will be shown as Red color and Center-aligned & all the 1st
letters of every words will be capitalized. </p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <p style="color:red; text-align:center; text-transform:capitalize;"> eenvi GB
cvivMvd BwjgU Gi wfZi Gi jLvUzKz evDRvi jvj Kvjvi Ges evDRvi Gi gvSLvb _K c`wkZ ne Ges
Gi wfZii cwZwU IqvW/ki c_g Ai eo nvZi ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
86
GBP wU Gg Gj 5
Aavq-15
wP : 4.1.2.1.2.4 (cvivMvd BwjgU style AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
jLvi wbqg t
<p dir="ltr A_ev rtl">
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Gi wbP cvivMvd BwjgU G Right to Left Direction A_vr <p dir="rtl"> eenvi GB GB cvivMvd
BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi evg w`K _K Wvb w`K c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
wP : 4.1.2.1.3.1.1 (cvivMvd BwjgU dir AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
4.1.2.1.3.2 t rtl
cvMvg bs-31 (p31.html) align AvwUweDU G rtl fvwjD Gi eenvi|
<html>
<head>
<title> Use of Dir Attribute in HTML Paragraph Element </title>
</head>
<body>
<h1 align="center"> Right to Left Direction in Paragraph Element </h1>
<p dir="rtl"> This Paragraph will be displayed from right to left in browser. </p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg cvivMvd BwjgU G Right to Left Direction A_vr <p dir="rtl"> eenvi GB GB
cvivMvd BwjgU Gi wfZi Gi jLvUzKz evDRvi Gi Wvb w`K _K evg w`K c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
88
GBP wU Gg Gj 5
Aavq-15
wP : 4.1.2.1.3.2.1 (cvivMvd BwjgU dir AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
Dciv AvwUweDUmg~n QvovI cvivMvd BwjgU G Aviv Abvb AvwUweDU eeZ nq _vK| cieZxZ
Avgiv Gjvi eenvi `Lev|
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvgwUZ j Kij `Lv hve h, cvivMvd BwjgU Gi wfZi GK IqvW _K Ab IqvW Gi ga
AbKjv m eenvi Kiv nqQ, wK evDRvi Kejgv GKwU Ki m c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-34 (p34.html) cvMvg bb-ewKs m GbwUwU Gi eenvi|
<html>
<head>
<title> Use of Non-Breaking Space </title>
</head>
<body>
<h1 align="center"> Non-Breaking Space Entity! </h1>
<p> The Non-Breaking Space Entity creates extra space for displaying in
webpages. </p>
<p> The Non Breaking
Space. </p>
</body>
</html>
KvW wek- lY t
Dcii cvMvgwUZ j Kij `Lv hve h, wZxq cvivMvd BwjgU Gi wfZi KZjv bb-ewKs m
( ) Gi eenvi Kiv nqQ| Gjv evDRvi AwZwi m Zwi Kie|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-35 (p35.html) cvMvg GKvwaK jvBb eenvi Kiv|
<html>
<head>
<title> Use of Line Break Element </title>
</head>
<body>
<h1 align="center"> Line Break Collapsing! </h1>
<p>
My Bonnie lies over the ocean.
My Bonnie lies over the sea.
My Bonnie lies over the ocean.
Oh, bring back my Bonnie to me.
</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvgwUZ j Kij `Lv hve h, cvivMvd BwjgU Gi wfZi GKvwaK jvBb eenvi Kiv nqQ|
wK GwU evDRvi ivb Kivj Gme jvBb ewKs Kvb KvR Avme bv, Gme jvBb ewKs Gi wecixZ Kejgv
GKwU m Gi eenvi j Kiv hve|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-36 (p36.html) cvMvg jvBb eK BwjgU Gi eenvi|
<html>
<body>
<p> Line Break <br /> Line Break <br /> Line Break <br /> Line Break <br
/> Line Break <br /> </p>
</body>
</html>
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
</p>
</body>
</html>
93
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvgwUZ j Kij `Lv hve h, cvivMvd BwjgU Gi wfZi KZjv jvBb eK BwjgU eenvi
Kiv nqQ| Gjv evDRvi GKwU Ki bZzb jvBb Zwi Kie|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
</pre>
</body>
First
Line
Second
Line
Third
Line
Fourth
Line
</html>
94
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvgwUZ j Kij `Lv hve h, PviwU Avjv`v-Avjv`v jvBb wKQz jLv nqQ, Ges cwZwU jvBb
UU Gi ga wKQz m eenvi Kiv nqQ| GB KbUUjvK wc-digvUW UvM Gi gvag jLvq Gi
cwZwU jvBb eK I m evDRvi c`wkZ ne|
GLb cvMvgwU evDRvi ivb Kivj wbPi wPi gZv AvDUcyU Avme|
wjLvi wbqg t
<font color="Color_name A_ev RGB_Code A_ev Hex_Code">
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg dU/UU Gi Kvjvi wbaviY Kivi Rb <font color="#FFA500"> jvBbwU eenvi Kiv|
GLvb Orange (Kgjv) KvjviwU wbevPb Kiv nqQ Ges Kvjvi Gi Rb Hex_Code "#FFA500" eenvi
Kiv nqQ|
GLb Dcii cRwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.1.6.1.1.1 (dU BwjgU color AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
96
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg dU/UU Gi Kvjvi wbaviY Kivi Rb <font color="Orange"> jvBbwU eenvi KKiv
nqQ Ges Kvjvi Gi Rb Color_Name "Orange" eenvi Kiv nqQ|
GLb Dcii cRwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.1.6.1.1.2 (dU BwjgU color AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
97
GBP wU Gg Gj 5
Aavq-15
wjLvi wbqg t
<font face="Font_Name">
KvW wek- lY t
Dcii cvMvg dU dm AvwUweDU dU wnme "Times New Roman" dUwU eenvi Kiv nqQ|
GLb Dcii cRwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.1.6.1.2.1 (dU BwjgU face AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
98
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-42 (p42.html) <font> BwjgU G face AvwUweDU Gi eenvi|
<html>
<head>
<title> Use of Face Attribute in Font Element </title>
</head>
<body>
<h1 align="center"> Set different types of Fonts using Face Attribute !</h1>
<font face="Arial"> <p> This is a paragraph, shown in the Arial font.</p>
</font>
</body>
</html>
KvW wek- lY t
Dcii cvMvg dU dm AvwUweDU dU wnme "Arial" dUwU eenvi Kiv nqQ|
GLb Dcii cRwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.1.6.1.2.2 (dU BwjgU face AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
GBP wU Gg Gj 5
Aavq-15
wjLvi wbqg t
<font size="1-7">
wP : 4.1.6.1.3.1 (dU BwjgU size AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
100
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-44 (p44.html) <font> BwjgU G size AvwUweDU Gi eenvi|
<html>
<head>
<title> Use of Size Attribute in Font Element </title>
</head>
<body>
<h1 align="center"> Set Fonts Size using Size Attribute !</h1>
<font size="2"> This line should be displayed smaller than normal size.
</font>
</body>
</html>
KvW wek- lY t
Dcii cvMvg dU mvBR AvwUweDU dU Gi mvBR/AvKvi wnme 2 eenvi Kiv nqQ| GZ Ki evDRvi
dU Gi mvBR ^vfvweK Gi PvBZ wKQzUv QvU `Lv hve|
GLb Dcii cRwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.1.6.1.3.2 (dU BwjgU size AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
Note :
*) HTML 5 - <font> BwjgU I Gi mKj AvwUweDU mvcvU Ki bv|
*) HTML 4.01 fvmb GjvK Deprecated (AewPZ) Nvlbv Kiv nq|
*) Gi cwieZ CSS eenvi Kiv hZ cvi|
101
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
</body>
</html>
KvW wek- lY t
Dcii cvMvg ev BwjgU (<b> </b>) Gi wfZii jLvUzKz evDRvi ev/Mvp AvKvi c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
103
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg BZvwjK BwjgU (<i> </i>) Gi wfZii jLvUzKz evDRvi BZvwjK AvKvi c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
</body>
</html>
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
KvW wek- lY t
Dcii cvMvg AvvijvBb BwjgU (<u> </u>) Gi wfZii jLvUzKz (Underlined) evDRvi AvvijvBb
AvKvi c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
105
GBP wU Gg Gj 5
Aavq-15
</body>
</html>
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
<body>
<h1 align="center"> Center Element </h1>
<center> <img src="images.jpg" /> </center>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <img sr. . . . /> Gi gvag GKwU BgR eenvi Kiv nqQ Ges GwUK mUvi BwjgU Gi
ga jLv nqQ, GZ Ki BgRwU evDRvi Gi gvSLvb c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
<body>
<h1 align="center"> Strikethrough Elements </h1>
<p> These Elements are not <s> available </s> in HTML 5 version </p>
<p> These Elements are not <strike> available </strike> in HTML 5 version
</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg vBK_v BwjgU (<s> </s>) Ges
(available) Gi gvS `vM Uvbv _vKe|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
<body>
<h1 align="center"> TeleType Element </h1>
The following word would be <tt> TeleTyped </tt>
</body>
</html>
KvW wek- lY t
Dcii cvMvg UwjUvBc BwjgU (<tt> </tt>) Gi wfZii jLvUzKz (TeleTyped) UwjUvBc AvKvi
c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
KvW wek- lY t
109
GBP wU Gg Gj 5
Aavq-15
Dcii cvMvg UwjUvBc BwjgU (<sup>) Gi wfZii jLvUzKz (th) evDRvi mycviw AvKvi c`wkZ
ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
KvW wek- lY t
Dcii cvMvg mvew BwjgU (<sub>) Gi wfZii jLvUzKz (2) evDRvi mvew AvKvi c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
110
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg weM BwjgU (<big>) Gi wfZii jLvUzKz (bigger) evDRvi ^vfvweK UU Gi PvBZ
wKQzUv eo AvKvi c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
111
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg mvew BwjgU (<small>) Gi wfZii jLvUzKz (smaller) evDRvi ^vfvweK UU Gi
PvBZ wKQzUv QvU AvKvi c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
112
GBP wU Gg Gj 5
Aavq-15
</body>
</html>
KvW wek- lY t
Dcii cvMvg <p>HTML is a language for describing web pages.</p> Gi wbP GKwU <hr>
BwjgU eenvi Kiv nqQ| GZ Ki D cvivMvd Gi wbP GKwU Avbyf~wgK iLv `Lv hve|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
113
GBP wU Gg Gj 5
Aavq-15
jLvi wbqg t
<hr align="left A_ev right A_ev center">
wjLvi wbqg t
<hr width="50px A_ev 50%">
wbP width AvwUweDU Gi eenvi `Lvbv njv t
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-60 (p60.html) <hr> BwjgU G width AvwUweDU Gi eenvi Gi eenvi|
<html>
<head>
<title> Use of HTML Presentational Elements! </title>
</head>
<body>
<h1 align="center"> Width Attribute in HR Element </h1>
<h1>HTML</h1>
<p>HTML is a language for describing web pages.</p>
<hr width="50%" />
<h1>CSS</h1>
<p>CSS defines how to display HTML elements.</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <hr> BwjgU G width AvwUweDU eenvi Kiv nqQ Ges fvwjD wnme kZKiv gvb eenvi
Kiv nqQ| Kvb AvjvBbgU wbaviY Ki bv `Iqvq GwU wWdfve evDRvi Gi gvSLvb _K i ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
115
GBP wU Gg Gj 5
Aavq-15
116
</body>
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg <hr> BwjgU G width AvwUweDU eenvi Kiv nqQ Ges fvwjD wnme kZKiv gvb eenvi
Kiv nqQ| Abw`K align AvwUweDU Gi gvb wnme left eenvi Kiv nqQ| GZ Ki Avbyf~wgK iLvwU
evDRvi Gi evg w`K _K c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.2.11.2.2 (<hr> BwjgU G align Ges width AvwUweDU Gi eenvi Gi eenvi Ki Zvi AvDUcyU
evDRvi `Lv)|
cvMvg bs-62 (p62.html) <hr> BwjgU G align Ges width AvwUweDU Gi eenvi Gi eenvi|
<html>
<head>
<title> Use of HTML Presentational Elements! </title>
</head>
<body>
<h1 align="center"> Width & Align Attribute in HR Element </h1>
<h1>HTML</h1>
<p>HTML is a language for describing web pages.</p>
<hr align="right" width="50%" />
<h1>CSS</h1>
<p>CSS defines how to display HTML elements.</p>
</html>
117
</body>
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg <hr> BwjgU G width AvwUweDU eenvi Kiv nqQ Ges fvwjD wnme kZKiv gvb eenvi
Kiv nqQ| Abw`K align AvwUweDU Gi gvb wnme right eenvi Kiv nqQ| GZ Ki Avbyf~wgK iLvwU
evDRvi Gi Wvb w`K _K c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
</body>
</html>
KvW wek- lY t
Dcii cvMvg <hr> BwjgU G width AvwUweDU eenvi Kiv nqQ Ges fvwjD wnme wcj (300px)
eenvi Kiv nqQ| Abw`K align AvwUweDU Gi gvb wnme center eenvi Kiv nqQ| GZ Ki
Avbyf~wgK iLvwU evDRvi Gi gvSLvb _K c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
<h1>CSS</h1>
<p>CSS defines how to display HTML elements.</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <hr> BwjgU G width AvwUweDU eenvi Kiv nqQ Ges fvwjD wnme wcj (500px)
eenvi Kiv nqQ| Abw`K align AvwUweDU Gi gvb wnme left eenvi Kiv nqQ| GZ Ki Avbyf~wgK
iLvwU evDRvi Gi evg w`K _K c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
<body>
<h1 align="center"> Noshade Attribute in HR Element </h1>
<p>A shaded horizontal line (this is default):</p>
<hr>
<p>A noshaded horizontal line:</p>
<hr noshade />
<p>The noshade attribute was deprecated in HTML 4, and is not supported in
HTML 4.01 Strict DTD or in XHTML 1.0 Strict DTD. Use CSS instead.</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg c_g nivBRUvj jvBbwU bigvwj eenvi Kiv nqQ| GZ GKwU Qvqv j Kiv hve|
Abw`K, wZxq nivBRUvj jvBbwUZ noshade AvwUweDUwU eenvi Kiv nqQ| GZ Ki GwU mwjW Kvjvi
c`wkZ ne, A_vr Kvb Qvqv _vKe bv|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.2.11.3.1 (<hr> BwjgU G noshade AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv )|
GBP wU Gg Gj 5
Aavq-15
fvwjD t
size AvwUweDU Gi fvwjD wnme wcj eenvi Kiv nq|
cvMvg bs-66 (p66.html) <hr> BwjgU G size AvwUweDU Gi eenvi|
<html>
<head>
<title> Use of HTML Presentational Elements! </title>
</head>
<body>
<h1 align="center"> Size Attribute in HR Element </h1>
<p>A normal horizontal line:</p>
<hr />
<p>A horizontal line with a height of 30 pixels:</p>
<hr size="30" />
<p>The size attribute was deprecated in HTML 4, and is not supported in HTML
4.01 Strict DTD or in XHTML 1.0 Strict DTD. Use CSS instead.</p>
</body>
</html>
KvW wek- lY t
Dcii cvMvg c_g nivBRUvj jvBbwU bigvwj eenvi Kiv nqQ| GwUi AvKvi ^vfvweK _vKe| Abw`K,
wZxq nivBRUvj jvBbwUZ size AvwUweDUwU eenvi Kiv nqQ Ges fvwjD wnme 30px eenvi Kiv
nqQ|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.2.11.4.1 (<hr> BwjgU G size AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv )|
122
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg cvivMvd BwjgU Gi wfZi must kwUZ <em> BwjgU eenvi Kiv nqQ|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg cvivMvd BwjgU Gi wfZi mandatory kwUZ <strong> BwjgU eenvi Kiv nqQ|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg AvWm BwjgU Gi wfZi Gi UU/jLv jv evDRvi GKUz wfb AvKwZZ c`wkZ ne,
hvZ eySv hve h GwU Kviv KbUv Bbdigvkb| ZvQvov Dciv AvWm BwjgU Gi wfZi `ywU jvBb eK
BwjgU Gi eenvi nqQ, hjv evDRvi bZzb jvBb Zwi Kie|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
125
GBP wU Gg Gj 5
Aavq-15
AvwUweDU Gi eenvi t
4.3.4.1 t title AvwUweDU
<abbr> BwjgU Gi wfZi eeZ msw ki c~Yic cKvk Kivi Rb title AvwUweDU eenvi nq _vK|
Value :
UvBUj AvwUweDU Gi fvwjD wnme UU eeZ nq|
wjLvi wbqg t
<abbr title="Full meaning of Abbreviation"> Abbreviation of Word </abbr>
KvW wek- lY t
Dcii cvMvg Avwewfqkb BwjgU Gi wfZi MD (msw ic) jLv nqQ Ges Gi c~YicK Avwewfqkb
BwjgU Gi UvBUj AvwUweDU fvwjD wnme jLv nqQ|
126
GBP wU Gg Gj 5
Aavq-15
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
wP : 4.3.4.1.1 (cvMvg <abbr> BwjgU I Gi title AvwUweDU eenvi Ki Zvi AvDUcyU evDRvi `Lv)|
Dcii wP j Kij `Leb h, <abbr> BwjgU Gi wfZi Avgiv h MD kwU wjLwQjvg, mwU GLvb
c`wkZ nQ|
GLb Gi Dci gvDmi Kvmi wbq aij Avgiv GB kwUi c~Yic wnme <abbr> BwjgU Gi UvBUj
AvwUweDU hv wjLwQjvg, Zv c`wkZ ne|
AvwUweDU Gi eenvi t
4.3.5.1 t title AvwUweDU
127
GBP wU Gg Gj 5
Aavq-15
<acronym> BwjgU Gi wfZi eeZ msw ki c~Yic cKvk Kivi Rb title AvwUweDU eenvi nq
_vK|
Value :
UvBUj AvwUweDU Gi fvwjD wnme UU eeZ nq|
wjLvi wbqg t
<abbr title="Full meaning of Acronym"> The Acronym word </abbr>
KvW wek- lY t
Dcii cvMvg Avvwbg BwjgU Gi wfZi HTML (msw ic) jLv nqQ Ges Gi c~YicK Avvwbg
BwjgU Gi UvBUj AvwUweDU fvwjD wnme jLv nqQ|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
128
GBP wU Gg Gj 5
Aavq-15
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg Wwdwbkb BwjgU Gi wfZi HTML kwU jLv nqQ| GwU evDRvi BZvwjK AvKvi
c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg <blockquote> BwjgU Gi wfZi HTML5 is the W3Cs first Recommend . . . . .
. . . jLvUzKz evDRvi i Ges kli w`K wKQzUv dvuKv iL c`wkZ ne|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
KvW wek- lY t
Dcii cvMvg <blockquote> BwjgUK fvwjWU Kivi Rb Gi wfZi HTML5 is the W3Cs first
Recommend . . . . . . . . jLvUzKzK cvivMvd BwjgU Gi gvag jLv nqQ|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
AvwUweDU Gi eenvi t
4.3.7.1 t cite AvwUweDU
<blockquote> BwjgU Gi wfZi eeZ jLvUzKzi mvm KvW (h mvBU _K Avbv nqQ) Dj- L Kivi
Rb cite AvwUweDU Gi eenvi nq _vK|
Value :
cite AvwUweDU Gi fvwjD wnme URL (Uniform Resource Locator) eeZ nq|
wjLvi wbqg t
<blockquote cite="URL"> The Blockquote Sentence. </blockquote>
KvW wek- lY t
Dcii cvMvg <blockquote> BwjgUi wfZi eeZ welqei mvm KvWK Dj- L Kivi Rb cite
AvwUweDU Gi eenvi Kiv nqQ| GwU evDRvi Kvb cwieZb Avbe bv|
GBP wU Gg Gj 5
Aavq-15
Quotation Gi msw ic GwU| <q> BwjgU Gi eenvi AbKUv <blockquote> Gi gZvB| Ze cv_K
njv, Kvb e- K jvBbK KvUkb Gi gvag jLvi Rb <blockquote> BwjgU eeZ nq, Avi Kej
GKwU gv evKK KvUkb Gi gvag jLvi Rb <q> BwjgU eeZ nq|
KvW wek- lY t
Dcii cvMvg <q> BwjgU Gi wfZi Somebodys bor. . . . . . . . jLvUzKzi i Ges kl DwZ wP
j Kiv hve|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-77 (p77.html) cvMvg <cite> BwjgU Gi eenvi|
<html>
<head>
<title> Use of HTML Phrase Elements! </title>
</head>
<body>
<h1 align="center"> Citation Element </h1>
This line is taken from <a href=http://www.w3schools.com/> < cite > Beginning
Web Development < /cite > </a>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <cite> BwjgU Gi wfZi Beginning Web Development jLvUzKzK wjsK Kivi Rb
GB BwjgU Gi i Ges kl <a> BwjgU eenvi Kiv nqQ|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
cvMvg bs-78 (p78.html) cvMvg <code> BwjgU Gi eenvi|
<html>
<head>
<title> Use of HTML Phrase Elements! </title>
</head>
<body>
<h1 align="center"> Code Element </h1>
The PHP Programming Language Starts using <code> <?php </code> and
Ends using <code> ?&rt; </code>
</body>
</html>
KvW wek- lY t
Dcii cvMvg <code> BwjgU `yB evi eeZ nqQ| Gi wfZi <?php Ges ? &rt; jLv nqQ|
wcGBPwc wkL cdkbvjx Iqe WfjcgU Gi KvR KiZ jLKi wcGBPwc Av gvB GmwKDGj Ges
AvWfvW wcGBPwc eB `ywU msMn Ki wbZ cvib| GLvb < Ges > G `ywU k IqecR Less
Than mvBb Ges Greater Than mvBb c`kb Kivi Rb eenvi Kivi nqQ| GjvK HTML Entities
ejv nq| G mK eBqi cieZxZ wevwiZ AvjvPbv Kiv nqQ| GLb ck nQ h, mivmwi Kb jR `b
Ges MUvi `b mvBb eenvi Kiv njv bv| Gi KviY nQ, GBPwUGgGj UvMjv GB `ywU mvBb Gi gvag
jLv nq _vK| UvM Gi evwni Gi eenvi Kiv nj g~j cvMvg G mgmv nZ cvi, ZvB GB mvBbjv
mivmwi eenvi Kiv nq bv|
GLb Dcii cvMvgwU evDRvi ivb Kivj wbPi gZv AvDUcyU c`wkZ ne|
GBP wU Gg Gj 5
Aavq-15
1) wbiwewQb we`yr|
2) ^ g~j mevi KvQ `ZMwZ mb BUvibU cuQvbv| Ges
3) ` Rbkw Mo Zvjv|
AvDUmvwms I evsjv`k:
G `ki 70 fvM cRbB ZviY wbfi| ZvB RbmsLv G`ki Rb mgmv bq, eis m`| Ze my` Avi
ckvwfwK `Zv Qvov G RbmsLv RvZxq m` wnme KvR Avme bv| G Rb miKviK cYv`bv cvRi
cwZ iZ w`Z ne|
G`ki Drmvnx ZiYiv IWi ZvwjKvq wbR`i kZ cgvb KiQ| IW Zv`i Rb ^kixi mb` eq
GbQ| G mvbbvq evsjv`ki ZiYiv AviI DrmvwnZ ne| KvR D`g Avme| eZgvb mgq cyiv wekB
AvDUmvwms wbfiZv evoQ| wi Awdmi Zzjbvq GLb Pjgvb/fvPyqvj Awdm cwZB Rbwcq nq DVQ w`b
w`b| Avi evsjv`k G KvRi Rb PgrKvi cwiek iqQ| G LvZ mywbw` ccvlKZvi cqvRb AvQ|
ZiY Drmvn Pvq| Avi Zv Zv`i w`Z cvij hKvb ARbB mnR nq Avme| evsjv`k MZ 3 eQi
AvDUmvwmsq wbRK iZc~Y evRvi wnme Zzj aiQ| weki Kvb `kB GLb AvDUmvwmsq
evsjv`kK LvUv Ki `L bv| eis mevP weePbvq wbqQ|
A_ cvIqvi wbqZv:
AbjvBb KvR Kivi evcvi GKUv welq Avgiv AvM _KB mw`nvb cvlY Ki _vwK h, AbjvBb _K
DcvRb Kiv UvKv Av` Avgv`i nvZ Gm cuQve wK bv ? nv hw` Avgiv mwVK IqemvBU _K mwVK fve
KvR mb KiZ cvwi, Ze UvKv Avgv`i nvZ Gm cuQveB| ZvQvov, AbjvBb wewfb gvviKvW, wfmv KvW
Kvvwb iqQ-hviv Avgv`i AbjvBb _K DcvRb Kiv UvKv nvZ cvIqvi 100% wbqZv c`vb Ki| Avcwb
evsjv`ki h Kvb vb _K GLb AbjvBb G AwRZ A_ Djb KiZ cvieb|
137
GBP wU Gg Gj 5
Aavq-15
----------------------------------------------------------------------wcq cvVK,
Avgiv eBwU jLvi mgq AvcvY Pv KiwQ, GKwU fvj eB jLvi Rb| ZviciI Avgv`i ARv
nqZv ev Kvb fyj _vKZ cvi| m D fzj-wUjv gvi `wZ `Lvi Abyiva iBj| Ges
Avcbv`i gZvgZ Avgv`iK B-gBji gvag Rvbvj DcKZ nev| Avgv`i B-gBj wVKvbv t
[email protected] | ZvQvov, Avcbviv hw` Kvb welq Awf nq _vKb, Ze Avcbv`i jLv
Avgv`i eBZ cKvk Kiv ne|
weMxwbs Rygjv
AvWfvW Rygjv
cdkbvj Rygjv
Rygjv UjU gwKs
weMxwbs IqvWcm
AvWfvW IqvWcm
cdkbvj IqvWcm
BUvibU AvZKgmsvb-1
BUvibU AvZKgmsvb-2
B-Kgvm Av Rygjv! fvPzgvU
B-Kgvm
gvvwgwWqv wWgIqfvi
mvP Bwb AcwUgvBRkb
AvWfvW mvP Bwb AcwUgvBRkb
cdkbvj mvP Bwb AcwUgvBRkb
di UwWs
B-gvKwUs
GBP wU Gg Gj-5
AvWfvW GBPwUGgGj
wcGBPwc Av gvB GmwKDGj
AvWfvW wcGBPwc Av gvB GmwKDGj
138
GBP wU Gg Gj 5
Aavq-15
139