如何忽略此html错误 [英] how to ignore this html error

查看:76
本文介绍了如何忽略此html错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


请帮忙.

将此文件加载到radeditor会给我一个错误
并删除/注释这种类型的标签,例如<%Image%>.

这些标签将它们用作占位符,以便用户可以简单地将其替换为他/她在文本框中键入的信息


please help.

loading this file to radeditor gives me an error
and it remove/comment out the tag of this type eg <%Image%>.

these tags i use them as a placeholder so that the user can simply replace it with the information he/she types in a text box

<html>
<body>
<p style="Text-align: right;">Sender<br/><%FromAddress%></p>
<p style="Text-align: left;"> </p><p ><br />
<span style="position: absolute; top: 350px; left: 30px ;">
<%ToAddress%><br /> Created By <%CreatedBy%> </span></p>
<span style="Position:absolute;top: 525px ;left: 30px;">
<img src =<%Image%> alt="." /></span>
</body>
</html>

推荐答案

替换
< img src =<%Image%> alt =." />

< img src =<%Image%>"; alt =." />
replace
<img src =<%Image%> alt="." />
with
<img src ="<%Image%>"; alt="." />


谢谢4 ur Reply

问题是在我的html文件中就可以了,就像这样

thanx 4 ur reply

the problem is in my html file it is fine it is like this

<html>
<body>
<p style="Text-align: right;">Sender<br/><%= FromAddress%></p>
<p style="Text-align: left;"> </p><p >
<%= ToAddress%><br /> Created By <%= CreatedBy%> </p>
< img src  =<%= Image%> alt="." />
</body>
</html>


but after loading to RadEditor it is

<html>
    <head>
        <title></title>
    </head>
    <body>
        <p style="text-align: right;">Sender<br />
        <!--FromAddres--></p>
        <p style="text-align: left;"> </p>
        <p ><!--ToAddres-->
        Created By <!--CreatedB--></p>
        < img alt="" src="<%=" /> alt="." />
    </body>
</html>


这篇关于如何忽略此html错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆