|
请教各位,
这样一段html代码
<head>
<title>Template</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}
.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}
.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}
.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}
-->
</style>
</head>
小弟把他搬到php中就会提示
<!--
.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}
.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}
.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}
.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}
-->
这段出现致命错误,请问在PHP中应该采用什么格式呢?
谢谢大家了! |
|