HTML NOTES
WELL EXPLIANED
,
, HTML
About the Tutorial
1. HTML – OVERVIEW .............................................................................................................. 1
Basic HTML Document ............................................................................................................................
1
HTML Tags ...............................................................................................................................................
2
HTML Document Structure ......................................................................................................................
3
The <!DOCTYPE> Declaration ..................................................................................................................
3
2. HTML – BASIC TAGS ............................................................................................................. 4
Heading Tags ...........................................................................................................................................
4
Paragraph Tag .........................................................................................................................................
5
Line Break Tag .........................................................................................................................................
5
Centering Content ...................................................................................................................................
6
Horizontal Lines ......................................................................................................................................
6
Preserve Formatting ................................................................................................................................
7
Nonbreaking Spaces ................................................................................................................................
8
3. HTML – ELEMENTS .............................................................................................................. 9
HTML Tag vs. Element .............................................................................................................................
9
Nested HTML Elements ...........................................................................................................................
9
i
lokoops.com
, HTML
4. HTML – ATTRIBUTES .......................................................................................................... 11
Core Attributes ......................................................................................................................................
12
Internationalization Attributes ..............................................................................................................
13
The xml:lang Attribute ..........................................................................................................................
15
5. FORMATTING .......................................................................................................17
Bold Text ...............................................................................................................................................
17
Italic Text ..............................................................................................................................................
17
Underlined Text ....................................................................................................................................
18
Strike Text .............................................................................................................................................
18
Monospaced Font .................................................................................................................................
19
Superscript Text ....................................................................................................................................
19
Subscript Text .......................................................................................................................................
20
Inserted Text .........................................................................................................................................
20
Deleted Text ..........................................................................................................................................
21
Larger Text ............................................................................................................................................
21
Smaller Text ..........................................................................................................................................
22
Grouping Content ..................................................................................................................................
22
ii
WELL EXPLIANED
,
, HTML
About the Tutorial
1. HTML – OVERVIEW .............................................................................................................. 1
Basic HTML Document ............................................................................................................................
1
HTML Tags ...............................................................................................................................................
2
HTML Document Structure ......................................................................................................................
3
The <!DOCTYPE> Declaration ..................................................................................................................
3
2. HTML – BASIC TAGS ............................................................................................................. 4
Heading Tags ...........................................................................................................................................
4
Paragraph Tag .........................................................................................................................................
5
Line Break Tag .........................................................................................................................................
5
Centering Content ...................................................................................................................................
6
Horizontal Lines ......................................................................................................................................
6
Preserve Formatting ................................................................................................................................
7
Nonbreaking Spaces ................................................................................................................................
8
3. HTML – ELEMENTS .............................................................................................................. 9
HTML Tag vs. Element .............................................................................................................................
9
Nested HTML Elements ...........................................................................................................................
9
i
lokoops.com
, HTML
4. HTML – ATTRIBUTES .......................................................................................................... 11
Core Attributes ......................................................................................................................................
12
Internationalization Attributes ..............................................................................................................
13
The xml:lang Attribute ..........................................................................................................................
15
5. FORMATTING .......................................................................................................17
Bold Text ...............................................................................................................................................
17
Italic Text ..............................................................................................................................................
17
Underlined Text ....................................................................................................................................
18
Strike Text .............................................................................................................................................
18
Monospaced Font .................................................................................................................................
19
Superscript Text ....................................................................................................................................
19
Subscript Text .......................................................................................................................................
20
Inserted Text .........................................................................................................................................
20
Deleted Text ..........................................................................................................................................
21
Larger Text ............................................................................................................................................
21
Smaller Text ..........................................................................................................................................
22
Grouping Content ..................................................................................................................................
22
ii