請教各位,
8 |! R) q9 v; t9 c' t 9 ]9 j( U7 g! c; A) ~ n; v* }
這樣一段html代碼
5 H2 ]9 B S' Z3 _) l+ M7 m2 Y<head>8 l3 a1 ?- j% m- [
<title>Template</title># {5 j# u( P$ j" g6 n6 Y
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">" h% T& h4 a5 s3 e
<style type="text/css">
. l7 u( E4 T9 k3 d$ g; Z<!--
0 u) ^& m7 W, {; t6 _.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}
) j+ ?4 G8 ?' m* A.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
9 M0 M4 j, z- M5 L7 L8 d6 u" O.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}+ ]5 B* ^; `( {* d: @3 V
.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}' D. H1 v y2 j5 Y" U3 V" n4 u+ D4 I
.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}6 d, \' y* x! T6 S+ j% N2 |
-->( u, |+ i6 n9 p7 T7 E# {, G
</style>
- A8 Q. L' v* y' S" i</head># H( P; [& w, s. U
4 \: Q0 Z/ w$ O+ \2 x# M
小弟把他搬到php中就會提示
: n' v# s% ?+ A; ]<!--1 z+ x+ c2 H. @- y) s
.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}
$ n2 A8 o* |# ^.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
- ~/ t7 h& Q, I+ g2 H.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}1 N/ X8 U3 f! o8 l% x4 x5 k
.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}7 \/ x% B: N2 k% w+ x& @' \
.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}3 z4 w5 ^+ U+ J$ ~0 y
-->
1 {8 I0 P0 p3 I' J這段出現致命錯誤,請問在PHP中應該採用什麼格式呢?
# o* L: S; b! e# {& f) N0 Y謝謝大家了! |
|