-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path01-26-2022-notes
67 lines (49 loc) · 1.67 KB
/
01-26-2022-notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
HTML
[Hyper Text Markup Language]
- The term "Hyper" means "Beyond"
- Hyper Text comprises of content beyond what you see.
- Markup is general computer term derived from "Marking Up"
- Markup language is a language used for presentation.
- It is used for presenting on Browser.
Evolution:
- The first Markup language used for Internet was GML built by CERN
- After GML [Generic Markup Language] - We use SGML [Standard]
- 1990's "Tim Berner Lee" introduced the concept of "Web" & HTML.
- HTML is superset to GML and SGML.
- IETF Group started developing HTML upto 3.2
- 2004 W3C and WHATWG started developing HTML
World Wide Web Consortium
Web Hyper Text Application Technology Work Group
- HTML Version 4,
- HTML Latest Version 5. [2014]
Browser Architecture
================
Markup => Bytes => Chars => Token => Elements => DOM => Layout => Render => Paint
HTML is a collection of Elements arranged in a Hierarchy called DOM.
[Document Object Model]
HTML Elements are classified into 5 Groups
1. Normal Elements
2. Void Elements
3. RC Data Elements
4. Raw Text Elements
5. Foreign Elements
Normal Elements:
- It returns a presentation directly on call back.
- It doesn't require additional attributes.
- It starts but can't stop implicitly.
- You have to stop explicitly by using end token.
start tag <b>
end tag </b>
Void Elements:
- The term void means no return value.
- It will not paint anything. [Empty]
- It will paint only content asked to.
- Doesn't require end tag
<img>
RC Data Elements
- Rich Content Data Elements
<textarea>
Raw Text Elements
Foriegn elements
SVG, MathML, Canvas
HTML Page Structure: