css代码格式化清理工具
程序员文章站
2022-05-11 13:48:37
...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns="> <title> CSS 代码格式化工具 </title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style type="text/css"> a {color:blue; font-size:12px} textarea {width:100%; height:300px; display:block; margin:10px 0; font-size:12px} input {font-size:12px} </style> <script type="text/javascript"> <!-- function formatCSS(n){ var c = document.getElementById("abc"); var d = document.getElementById("def"); var v = c.value; if (n==1){