10. GBP wU Gg Gj 5 Aa¨vq-15
10
Aa¨vq c„ôv
Aa¨vq-1 t GBPwUGgGj (HTML) wb‡q cÖv_wgK Av‡jvPbv :..........................................16
1.1: GBPwUGgGj (HTML) Kx?......................................................................................17
1.2: HTML j¨vs¸‡qR wKfv‡e KvR K‡i?..........................................................................17
1.3: GBPwUGgGj j¨vs¸‡q‡Ri cÖ‡qvRbxqZv.......................................................................18
1.4: K¨vwiqvi wn‡m‡e HTML j¨vs¸‡qR..........................................................................19
Aa¨vq-2 t HTML e¨vwmK:....................................................................................21
2.1 t HTML U¨vM (Tag)........................................................................................................22
2.1.1 t HTML U¨vM †jLvi wbqg......................................................................................22
2.1.2 t I‡cwbs U¨vM (Opening Tags) .............................................................................22
2.1.3 t †K¬vwRs U¨vM (Closing Tags) ...............................................................................22
2.1.4 t HTML G¤úwU U¨vM (Empty Tags) .....................................................................22
2.2 t HTML †WwcÖ‡K‡UW U¨vM (Deprecated Tags) I A¨vwUªweDU (Attributes) .............................22
2.3 t HTML A¨vwUªweDU (Attributes) I f¨vwjD (Value) ...........................................................23
2.3.1 t A¨vwUªweDU †jLvi wbqg ..........................................................................................23
2.3.2 t f¨vwjD †mU Kivi wbqg .........................................................................................23
2.3.3 t HTML Gi cÖavb A¨vwUªweDU mg~n ..........................................................................23
2.3.3.1 t id ........................................................................................................24
2.3.3.2 t class ...................................................................................................24
2.3.3.3 t title .....................................................................................................24
2.3.3.4 t style ...................................................................................................25
2.4 t Kb‡U›U (Contents) .......................................................................................................25
2.5 t HTML G·‡Ubkb (Extension) .....................................................................................25
2.6 t HTML GwWUi .............................................................................................................26
2.7 t HTML dvBj Gi e¨vwmK MVb .........................................................................................27
2.8 t HTML G cÖ_g †cÖvMÖvg †jLv ...........................................................................................27
2.9 t Bb‡W‡›Ukb (Indention) .................................................................................................35
2.10 t GBPwUGgGj K‡g›U (Comments) .................................................................................36
2.10.1 t K‡g›U (Comments) Gi e¨envi .........................................................................36
2.11 t WKz‡g›U UvBc wW‡K¬qv‡ikb ..............................................................................................37
Aa¨vq-3 t GBPwUGgGj Bwj‡g›U (Elements)...................................................................39
3.1 t HTML Bwj‡g›U (Elements) .........................................................................................40
3.1.1 t Bwj‡g›U Gi MVb .................................................................................................41
3.1.2 t †b‡óW GBPwUGgGj Bwj‡g›U (Nested HTML Elements) .......................................42
3.1.3 t HTML Gi cÖavb Bwj‡g›Umg~n ..............................................................................43
3.1.3.1 t <html> Element .................................................................................44
3.1.3.2 t <head> Element ................................................................................45
11. GBP wU Gg Gj 5 Aa¨vq-15
11
3.1.3.3 t <title> Element .................................................................................46
3.1.3.3.1 t <title> Bwj‡g›U Gi e¨envi t .......................................................47
3.1.3.4 t <body> Element ...............................................................................49
3.1.3.4.1 t <body> Bwj‡g›U Gi e¨envi t ......................................................49
3.1.3.4.1.1 t <body> Bwj‡g›U G A¨vwUªweDU Gi e¨envi ............................52
3.1.3.4.1.1.1 t alink .................................................................52
3.1.3.4.1.1.2 t background ......................................................54
3.1.3.4.1.1.3 t bgcolor .............................................................56
3.1.3.4.1.1.4 t link ..................................................................58
3.1.3.4.1.1.5 t text ...................................................................60
3.1.3.4.1.1.6 t vlink .................................................................61
Aa¨vq-4 t GBPwUGgGj †U·U di‡gwUs : ............................................................................65
4.1 t HTML Basic Text Formatting ..................................................................................66
4.1.1 t Heading (<h1> †_‡K <h6>) Elements wb‡q Av‡jvPbv .........................................66
4.1.1.1 t.Heading Bwj‡g›U G A¨vwUªweDU Gi e¨envi ..................................................72
4.1.1.1.1 t align (Deprecated) .................................................................72
4.1.1.1.1.1 t left ...............................................................................72
4.1.1.1.1.2 t right .............................................................................73
4.1.1.1.1.3 t center ...........................................................................74
4.1.2 t Paragraph (<p>) Element wb‡q Av‡jvPbv ...........................................................75
4.1.2.1 t.Paragraph Bwj‡g›U G A¨vwUªweDU Gi e¨envi ..............................................76
4.1.2.1.1 t align A¨vwUªweDU (Deprecated) ..................................................76
4.1.2.1.1.1 t left ...............................................................................77
4.1.2.1.1.2 t right .............................................................................78
4.1.2.1.1.3 t center ...........................................................................79
4.1.2.1.1.4 t justify ..........................................................................80
4.1.2.1.2 t style A¨vwUªweDU ...........................................................................81
4.1.2.1.3 t dir A¨vwUªweDU .............................................................................85
4.1.2.1.3.1 t ltr .................................................................................85
4.1.2.1.3.2 t rtl .................................................................................86
4.1.3 t bb †eªwKs †¯úm ( ) Gi e¨envi ....................................................................87
4.1.4 t jvBb †eªK (<br />) Element wb‡q Av‡jvPbv ...........................................................89
4.1.5 t Preformatted (<pre>) Element wb‡q Av‡jvPbv ...................................................92
4.1.6 t Font (<font>) Element wb‡q Av‡jvPbv (Deprecated).........................................93
4.1.6.1 t.Font Bwj‡g›U G A¨vwUªweDU Gi e¨envi ........................................................93
4.1.6.1.1 t color A¨vwUªweDU (Deprecated)..................................................93
4.1.6.1.2 t face A¨vwUªweDU (Deprecated) ...................................................96
4.1.6.1.3 t size A¨vwUªweDU (Deprecated) ...................................................97
4.2 t HTML Presentational Elements ...............................................................................97
12. GBP wU Gg Gj 5 Aa¨vq-15
12
4.2.1 t Bold <b> Element .......................................................................................100
4.2.2 t Italic <i> Element ........................................................................................100
4.2.3 t Underline <u> Element ...............................................................................101
4.2.4 t Center <center> Element (Deprecated)......................................................102
4.2.5 t <s> Ges <strike> (Deprecated) Elements ..................................................104
4.2.6 t <tt> Element (Deprecated)..........................................................................105
4.2.7 t <sup> Element ............................................................................................106
4.2.8 t <sub> Element ............................................................................................107
4.2.9 t <big> Element (Deprecated).......................................................................108
4.2.10 t <small> Element ........................................................................................109
4.2.11 t <hr> Element .............................................................................................110
4.2.11.1 t align A¨vwUªweDU (Deprecated)............................................................111
4.2.11.2 t width A¨vwUªweDU (Deprecated) .........................................................112
4.2.11.3 t noshade A¨vwUªweDU (Deprecated).......................................................112
4.2.11.4 t size A¨vwUªweDU (Deprecated).............................................................118
4.3 t HTML Phrase Elements ..........................................................................................119
4.3.1 t <em> Element ..............................................................................................121
4.3.2 t <strong> Element ........................................................................................121
4.3.3 t <address> Element ......................................................................................122
4.3.4 t <abbr> Element ...........................................................................................122
4.3.4.1 t title A¨vwUªweDU......................................................................................124
4.3.5 t <acronym> Element (Deprecated).............................................................124
4.3.5.1 t title A¨vwUªweDU .....................................................................................126
4.3.6 t <dfn> Element ............................................................................................128
4.3.7 t <blockquote> Element ................................................................................129
4.3.7.1 t cite A¨vwUªweDU ......................................................................................131
4.3.8 t <q > Element ...............................................................................................132
4.3.9 t <cite > Element ...........................................................................................133
4.3.10 t <code> Element .........................................................................................134
4.3.11 t <kbd> Element ..........................................................................................135
4.3.12 t <var> Element ...........................................................................................136
4.3.13 t <samp> Element ........................................................................................137
4.4 t Editing Text Elements ............................................................................................138
4.4.1 t <ins> Bwj‡g›U ................................................................................................138
4.4.1.1 t title A¨vwUªweDU .....................................................................................140
4.4.1.2 t cite A¨vwUªweDU ......................................................................................141
4.4.1.3 t datetime A¨vwUªweDU ..............................................................................142
4.4.2 t <del> Bwj‡g›U ................................................................................................143
4.4.2.1 t title A¨vwUªweDU .....................................................................................145
13. GBP wU Gg Gj 5 Aa¨vq-15
13
4.4.2.2 t cite A¨vwUªweDU ......................................................................................146
4.4.2.3 t datetime A¨vwUªweDU .............................................................................147
Aa¨vq-5 t GBPwUGgGj wj÷ ............................................................................................151
5.1 t List <li> Bwj‡g›U .......................................................................................................152
5.2 t Ordered List (ol) Bwj‡g›U ..........................................................................................152
5.2.1 t type A¨vwUªweDU Gi e¨envi .................................................................................154
5.2.2 t start A¨vwUªweDU Gi e¨envi .................................................................................160
5.3 t Unordered List (ul) Bwj‡g›U ......................................................................................166
5.3.1 t type A¨vwUªweDU Gi e¨envi .................................................................................138
5.4 t Directory List (dir) Bwj‡g›U ......................................................................................172
5.5 t Menu List (menu) Bwj‡g›U ........................................................................................173
5.6 t Definition List (<dl>,<dt> & <dd>) Bwj‡g›U ............................................................175
5.7 t Nesting Lists ...........................................................................................................177
Aa¨vq-6 t GBPwUGgGj wjsK ...........................................................................................187
6.1 t <a> Bwj‡g›U ...............................................................................................................188
6.1.1 t href A¨vwUªweDU .................................................................................................188
6.1.2 t style A¨vwUªweDU ...............................................................................................204
6.1.3 t name A¨vwUªweDU ..............................................................................................206
6.1.4t target A¨vwUªweDU ...............................................................................................212
6.1.4.1 t _blank f¨vwjD Gi e¨envi ......................................................................213
6.1.5t tabindex A¨vwUªweDU ..........................................................................................217
6.1.6 t accesskey A¨vwUªweDU Gi e¨envi ........................................................................219
6.2 t <link /> Bwj‡g›U ........................................................................................................219
6.3 t <nav> Bwj‡g›U ...........................................................................................................219
Aa¨vq-7 t GBPwUGgGj B‡gR ..........................................................................................222
7.1 t <img /> Bwj‡g›U ........................................................................................................223
7.1.1 t src A¨vwUªweDU ..................................................................................................227
7.1.2 t alt A¨vwUªweDU ...................................................................................................227
7.1.3 t height A¨vwUªweDU .............................................................................................229
7.1.4 t width A¨vwUªweDU ..............................................................................................231
7.1.5 t border A¨vwUªweDU (Deprecated)......................................................................233
7.1.6 t hspace A¨vwUªweDU (Deprecated).....................................................................233
7.1.7 t vspace A¨vwUªweDU (Deprecated)......................................................................234
7.2 t <figure> Bwj‡g›U .......................................................................................................235
7.3 t <figcaption> Bwj‡g›U ................................................................................................237
Aa¨vq-8 t GBPwUGgGj B‡gR ..........................................................................................239
8.1 t <table> Bwj‡g›U .........................................................................................................240
8.1.1 t border A¨vwUªweDU (Deprecated)......................................................................242
15. GBP wU Gg Gj 5 Aa¨vq-15
15
9.2.1.6.1 t value A¨vwUªweDU Gi e¨envi ........................................................297
9.2.1.7 t submit f¨vwjD Gi e¨envi ......................................................................297
9.2.1.7.1 t value A¨vwUªweDU Gi e¨envi ........................................................299
9.2.2 t <label> Bwj‡g›U .............................................................................................300
9.2.2.1 t for A¨vwUªweDU Gi e¨envi ........................................................................302
9.2.3 t <select> Bwj‡g›U ............................................................................................302
9.2.3.1 t multiple A¨vwUªweDU Gi e¨envi ...............................................................303
9.2.4 t <option> Bwj‡g›U ...........................................................................................305
9.2.4.1 t disabled A¨vwUªweDU Gi e¨envi ...............................................................307
Aa¨vq-10 t GBPwUGgGj Kvjvi .......................................................................................310
10.1 t GBPwUGgGj Kvjvi .....................................................................................................311
10.2 t Kvjvi Gi e¨envi ........................................................................................................311
10.2.1 t Color name (Kvjvi Gi bvg) e¨envi K‡i : ........................................................311
10.2.2 t t RGB Code e¨envi K‡i ...............................................................................311
10.2.3 t Hex (Hexadecimal) †KvW e¨envi K‡i t ..........................................................312
Aa¨vq-11 t GBPwUGgGj GbwUwU (Entities) ...................................................................315
11.1 t GBPwUGgGj GbwUwU (Entities) ....................................................................................316
11.1.1 t GbwUwU Gi e¨envi ............................................................................................316
Aa¨vq-12 t GBPwUGgGj wgwWqv (Media) ......................................................................320
12.1 t <audio> Bwj‡g›U ......................................................................................................321
12.1.1 t src A¨vwUªweDU ................................................................................................321
12.1.2 t controls A¨vwUªweDU .......................................................................................322
12.1.3 t loop A¨vwUªweDU .............................................................................................324
12.1.4 t autoplay A¨vwUªweDU ......................................................................................325
12.2 t <video> Bwj‡g›U ......................................................................................................326
12.2.1 t src A¨vwUªweDU ...............................................................................................327
12.2.2 t controls A¨vwUªweDU ........................................................................................327
12.2.3 t loop A¨vwUªweDU ..............................................................................................329
12.2.4 t autoplay A¨vwUªweDU .......................................................................................331
12.2.5 t width A¨vwUªweDU ............................................................................................332
12.2.6 t height A¨vwUªweDU ...........................................................................................333
12.2.7 t muted A¨vwUªweDU ...........................................................................................334
12.2.8 t poster A¨vwUªweDU ...........................................................................................335
12.3 t <source> Bwj‡g›U ....................................................................................................336
12.3.1 t <src> A¨vwUªweDU ............................................................................................336
12.3.2 t <type> A¨vwUªweDU .........................................................................................337
Aa¨vq-13 t GBPwUGgGj MÖ“wcs
(Grouping)..................................................................340
16. GBP wU Gg Gj 5 Aa¨vq-15
16
13.1 t <div> Bwj‡g›U ..........................................................................................................341
13.1.1 t align A¨vwUªweDU .............................................................................................341
13.1.2 t id A¨vwUªweDU ..................................................................................................344
13.1.3 t class A¨vwUªweDU .............................................................................................347
13.2 t <span> Bwj‡g›U .......................................................................................................348
13.2.1 t class A¨vwUªweDU .............................................................................................348
Aa¨vq-14 t GBPwUGgGj †nW (Head) ............................................................................349
14.1 t <head> Bwj‡g›U .......................................................................................................351
14.2 t <title> Bwj‡g›U .........................................................................................................351
14.3 t <meta> Bwj‡g›U .......................................................................................................352
14.3.1 t name A¨vwUªweDU ............................................................................................352
14.3.2 t content A¨vwUªweDU .........................................................................................354
14.4 t <style> Bwj‡g›U .......................................................................................................355
14.4.1 t type A¨vwUªweDU ..............................................................................................356
Aa¨vq-15 t GBPwUGgGj cÖ‡R± (cÖ‡R±) ...........................................................................358
15.1 t Project-1 (Two Column Layout with a Header and a Footer) ..............................359
15.2 t Project-2 (Three Column Layout with Header, Navigation bar and Footer) ........361
15.3 t Project-3 (Creating a Index Page) .........................................................................364
15.4 t Project-4 (Creating a Page using List) ..................................................................367
15.5 t Project-5 (Use of Images in Table in a Page) .......................................................374
15.6 t Project-6 (Uses of Images and Paragraph in Table in a Page) .............................378
15.7 t Project-7 (Creating a Registration Page) ..............................................................382
15.8 t Project-8 (Creating a Login Page) ........................................................................385
15.9 t Project-9 (Creating a Full Website) ......................................................................388
Aa¨vq-1