Home  >  Article  >  Web Front-end  >  html单引号,双引号转义_html/css_WEB-ITnose

html单引号,双引号转义_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:51:221057browse

今天在用TRS后台编辑了一个HTML模版保存并发布之后,预览修改之后的页面就报错了。但是我仅仅加入了下面红色的代码

内容

于是我将上面的的代码去掉又正常了,那问题就出现在我添加的代码中了,但是看看代码没有什么错误呀,于是有看看模版其他代码发现了'和"的代码

上网搜索了下发现'是单引号的转义符,"是双引号的转义符。我就依葫芦画瓢将上面的代码改为

内容

保存发布预览OK了!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn