-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
97 lines (84 loc) · 3.23 KB
/
index.html
File metadata and controls
97 lines (84 loc) · 3.23 KB
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
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Parse HTML</title>
<link href="icon/favicon.png" rel="icon" sizes="192x192" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;500;600&display=swap">
<link rel="stylesheet" href="style.css" />
<script>
(function () {
try {
var saved = localStorage.getItem("theme");
if (!saved) saved = "light";
document.documentElement.setAttribute("data-theme", saved);
} catch (e) {}
})();
</script>
<script src="parse.js" defer></script>
</head>
<body>
<div class="page">
<header class="topbar">
<div class="wrap">
<div class="brand">
<h1 class="title">Tool Parse HTML</h1>
<p class="subtitle">
Tool Parse HTML ini berfungsi untuk menyesuaikan kode HTML agar dapat ditampilkan dengan benar di CMS Blogger.
Biasanya metode Parse HTML ini digunakan saat menyisipkan kode HTML di dalam artikel atau memasang kode script iklan
Google Adsense di dalam template agar tidak error saat disimpan.
</p>
</div>
<div class="actions">
<div class="themeSwitch" aria-label="Toggle dark mode">
<span class="themeLabel" id="themeLabel">Light</span>
<button class="switch" id="themeToggle" type="button" role="switch" aria-checked="false" aria-label="Dark mode">
<span class="knob" aria-hidden="true"></span>
</button>
</div>
</div>
</div>
</header>
<main class="content">
<div class="wrap">
<section class="card">
<div id="parse-html">
<div class="editorHead">
<span class="hint">Tempel / tulis kode HTML di bawah, lalu klik Start Parse Code.</span>
</div>
<textarea id="somewhere" placeholder="Write or paste HTML code here..."></textarea>
<div class="alert alert-success collapse" id="btnInfo" role="alert" aria-live="polite">
<button class="close close-copy" type="button" onclick="hideToast();">
<span aria-hidden="true">×</span>
</button>
<h4>Code copied to clipboard</h4>
</div>
<div class="btnRow">
<button onclick="convert();" class="btn btn-primary btn-parse" type="button">
Start Parse Code
</button>
<div class="btnGroup">
<button
class="btn btn-success button-link is-hidden"
id="button-link"
type="button">
Copy to Clipboard
</button>
<button class="btn btn-danger" id="btn_clear" onclick="cdClear();" type="button">
Reset / Clean Code
</button>
</div>
</div>
</div>
</section>
</div>
</main>
<footer class="footer">
<div class="wrap">
<p>Tool Parse HTML by. <a href="https://indradp.web.id" rel="nofollow noopener" target="_blank">Indra DP</a></p>
</div>
</footer>
</div>
</body>
</html>