-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
53 lines (42 loc) · 717 Bytes
/
README
File metadata and controls
53 lines (42 loc) · 717 Bytes
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
Do fast HTML creation in JavaScript. Ready... GO!
Examples:
DIV()
<div></div>
DIV("HEY")
<div>HEY</div>
DIV({"id":"thing"})
<div id="thing"></div>
DIV(H1("HEY"))
<div><h1>HEY</h1></div>
DIV(["HEY",DIV()])
<div>HEY<div></div></div>
DIV({"id":"thing"},["HEY"])
<div id="thing">HEY</div>
BR()
<br />
BR({"id":"thing"})
<br id="thing" />
HTML(
HEAD(),
BODY(
DIV(
{"id":"mainDiv"},
H1("HOWDY"),
P("Example website")
),
BR(),
DIV({"style":"clear:both;display:block;"})
])
])
<html>
<head>
</head>
<body>
<div id="mainDiv">
<h1>HOWDY</h1>
<p>Example website</p>
</div>
<br />
<div style="clear:both;display:block;"></div>
</body>
</html>