-
Notifications
You must be signed in to change notification settings - Fork 18
/
__test__.html
156 lines (151 loc) Β· 3.35 KB
/
__test__.html
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
* {
user-select: none;
}
</style>
</head>
<body>
<h1>Test content</h1>
<p>
our answer could be improved with additional supporting information. Please edit to add
further details, such as citations or documentation, so that others can confirm that your
answer is correct. You can find more information on how to write good answers in the help
center. β Community Bot
</p>
<div>
This is a piece of test text, which will include some tags, such as
<a href="https://www.google.com">link</a>
γ
<strong>strong</strong>
γ
<em>em</em>
γ
<del>del</del>
γ
<ins>ins</ins>
γ
<sub>sub</sub>
γ
<sup>sup</sup>
γ
<mark>mark</mark>
γ
<small>small</small>
γ
<big>big</big>
γ
<u>u</u>
γ
<s>s</s>
γ
<q>q</q>
γ
<cite>cite</cite>
γ
<abbr>abbr</abbr>
γ
<dfn>dfn</dfn>
γ
<time>time</time>
γ
<var>var</var>
γ
<samp>samp</samp>
γ
<kbd>kbd</kbd>
γ
<i>i</i>
γ
<b>b</b>
γ
<span>span</span>
The expectation is that these tags will not be understood as a node alone, but together with
the parent node.
<br />
But for block-level elements, it will be understood as a separate node
<div>
this is a
<b>div</b>
element
</div>
<p>
this is a
<b>p</b>
element
</p>
<h1>this is a h1 element</h1>
<ul>
<li>this is a li element</li>
</ul>
<dl>
<dt>this is a dt element</dt>
<dd>this is a dd element</dd>
</dl>
<br />
There are also some special tags, such as
<b>br</b>
,
<b>hr</b>
should also be understood as a sign of the end of a paragraph. here is a br tag:
<br />
here is a hr tag:
<hr />
They will both be understood as the end of a paragraph.
</div>
<h3>Test list and link</h3>
<ul>
<li>
You can find more information on
<a href="">test link</a>
how to write good answers in the help center
</li>
<li>
You can find more information on
<a href="">test link</a>
how to write good answers in the help center
</li>
<li>
You can find more information on
<a href="">test link</a>
how to write good answers in the help center
</li>
</ul>
<h3>Test code</h3>
<pre>
<code>
const test = 'test';
console.log(test);
</code>
<code>
const a = 123;
function test (){
let b=333;
}
</code>
</pre>
<h3>Test table</h3>
<table>
<thead>
<tr>
<th>Test</th>
<th>Test</th>
<th>Test</th>
</tr>
</thead>
<tbody>
<tr>
<td>Test</td>
<td>Test</td>
<td>Test</td>
</tr>
</tbody>
</table>
</body>
</html>