Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
只是一个简单的问题。html 代码行在 Dreamweaver 中变为绿色是什么意思?例子; <div class="container">由于某种原因得到绿色字体颜色。
<div class="container">
谢谢!
我自己刚刚注意到这个“错误”,看起来如果 html 代码嵌入了 php,它会给出误报。
例如
我在注册表单旁边有一个信息面板,如果在提交后检测到错误,即如果该人之前已注册,我会隐藏并显示错误消息。
在 div 标签中,我有 < ?php if ($error==1) echo ('style="display:none"')?> 在文本显示的其余部分产生绿色代码。
希望这可以帮助。