<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Simple DOM example</title>
<style type="text/css"></style>
<style type="text/css"></style>
<script type="text/javascript"></script>
</head>
<body>
<div class="text-field">
<textarea id="textHTML" style="width: 100%;height: 500px;display: flex;margin: 0;"></textarea>
<button type="button" class="btn">格式化</button>
</div>
<div>
<div>
<p>
<a h