This HTML Parse tool helps you parse your HTML, CSS, and JavaScript on a single tab. You can use the parsed HTML script in your Blogger theme and create a code box without any issues.
🔧 HTML Parse Tool – Parameters Overview
Parameter / Selector | Type | Used In | Purpose / Description |
---|---|---|---|
textarea#codes |
HTML Element | HTML, JavaScript | Text area to input and display the parsed code. |
button#convert |
HTML Element | HTML, JavaScript | Triggers the cdConvert() function to parse code. |
button.clear-btn |
HTML Element | HTML, JavaScript | Clears the text area using cdClear() . |
button (copy) |
HTML Element | HTML, JavaScript | Copies parsed code using copy() . |
input#opt1 |
Checkbox Input | HTML, JavaScript | Replaces & with & . |
input#opt2 |
Checkbox Input | HTML, JavaScript | Replaces < with < . |
input#opt3 |
Checkbox Input | HTML, JavaScript | Replaces > with > . |
input#opt4 |
Checkbox Input | HTML, JavaScript | Replaces " with " . |
input#opt5 |
Checkbox Input | HTML, JavaScript | Replaces ' with ' . |
.button-group |
CSS Class | HTML, CSS | Flex container for buttons with spacing. |
.button-group button |
CSS Class | HTML, CSS | Button styling (padding, border-radius, etc.). |
.drK .button-group button |
CSS Class | CSS | Overrides button color in dark mode. |
.clear-btn |
CSS Class | HTML, CSS | Styles the red "Clear" button. |
.options |
CSS Class | HTML, CSS | Flex-column layout for checkboxes. |
.options label |
CSS Class | HTML, CSS | Styles checkbox labels with pointer cursor. |
cdConvert() |
JavaScript Function | JavaScript | Performs the character encoding based on selected checkboxes. |
cdClear() |
JavaScript Function | JavaScript | Clears the textarea content and resets state. |
copy() |
JavaScript Function | JavaScript | Copies content from textarea to clipboard. |
📝 Output Example
When you paste:<div class="test">Hello & Welcome</div>
And click Parse Code, it becomes:
<div class="test">Hello & Welcome</div>