html转化为js之后的格式会出现错误不能在网页中调用,怎么将js格式化???
html转化js之后格式是这样的document.writeln("</head>");document.writeln("<body>");document.write...
html转化js之后格式是这样的
document.writeln("</head>
");
document.writeln("<body>
");
document.writeln("{dede:include filename=\"head.htm\"/}
");
document.writeln("
");
document.writeln("<!-- /header -->
");
document.writeln("
");
document.writeln("
");
document.writeln("</center>
");
而正确的格式应该是这样的:
document.writeln("</head>");
document.writeln("<body>");
document.writeln("{dede:include filename=\"head.htm\"/}");
document.writeln("");
document.writeln("<!-- /header -->");
document.writeln("");
document.writeln("");
document.writeln("</center>");
怎样设置或者怎么可以改成这种正确的格式,不用一行一行的改 展开
document.writeln("</head>
");
document.writeln("<body>
");
document.writeln("{dede:include filename=\"head.htm\"/}
");
document.writeln("
");
document.writeln("<!-- /header -->
");
document.writeln("
");
document.writeln("
");
document.writeln("</center>
");
而正确的格式应该是这样的:
document.writeln("</head>");
document.writeln("<body>");
document.writeln("{dede:include filename=\"head.htm\"/}");
document.writeln("");
document.writeln("<!-- /header -->");
document.writeln("");
document.writeln("");
document.writeln("</center>");
怎样设置或者怎么可以改成这种正确的格式,不用一行一行的改 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询