首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何复制这些代码的最终结果?

如何复制这些代码的最终结果?
EN

Stack Overflow用户
提问于 2013-03-23 08:36:54
回答 2查看 405关注 0票数 0

如果标题太笼统,我很抱歉。

这是XML文件的一部分。

代码语言:javascript
复制
</dl><dl><b>elo·quent</b> <!--id=000014151--><i>BrE</i> <font color=darkgray> </font><font color=darkcyan>[ˈeləkwənt]</font> <i> </i><OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width=16 height=12 volume=100><PARAM NAME="EnableContextMenu" VALUE="False"><PARAM NAME="AutoStart" VALUE="False"><PARAM NAME="URL" VALUE="D:\Dictionaries\En-En-OALD8.dsl.files\z_eloquent__gb_1.wav"></OBJECT><i> </i>
     <i>NAmE</i> <font color=darkgray> </font><font color=darkcyan>[ˈeləkwənt]</font> <i> </i><OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width=16 height=12 volume=100><PARAM NAME="EnableContextMenu" VALUE="False"><PARAM NAME="AutoStart" VALUE="False"><PARAM NAME="URL" VALUE="D:\Dictionaries\En-En-OALD8.dsl.files\z_eloquent__us_1.wav"></OBJECT><i> </i>
     <font color=orange> adjective</font><br>
</dt><dt><font color=darkmagenta><b>1.</b></font> <!--d-->able to use language and express your opinions well, especially when you are speaking in public<!--/d--><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->an <!--/x--> </font><b><font color=darkslategray><!--cl-->eloquent speech/speaker<!--/cl--> </font></b><br>
</dt><dt><font color=darkmagenta><b>2.</b></font> <font color=darkgray>(</font><font color=darkslategray><i><!--dc-->of a look or movement<!--/dc--></i></font><font color=darkgray>) </font><!--d-->able to express a feeling<!--/d--><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->His eyes were eloquent.<!--/x--> </font><font color=darkgray> </font><br>
    <!--Derived Word--><dd><font color=darkslategray><u>Derived Words:</u></font> <font color=gray size=0.1>↑ </font><font color=blue>eloquence</font> <font color=darkslategray><b>▪</b></font> <font color=gray size=0.1>↑ </font><font color=blue>eloquently</font><!--/Derived Word--> <dd> <br>
    <!--Word Origin--><dd><font color=darkslategray><u>Word Origin:</u></font><br>
<dd> <font color=rosybrown>[</font><font color=darkslategray><b>eloquence</b></font> <font color=darkslategray><b>eloquent</b></font> <font color=darkslategray><b>eloquently</b></font><font color=rosybrown>]</font> <font color=darkgray> </font><font color=darkslategray><!--lang-->late Middle English<!--/lang--></font><font color=dimgray><!--etymology-->: via <!--/etymology--> </font><font color=darkslategray><!--lang-->Old French<!--/lang--> </font><font color=dimgray><!--etymology--> from <!--/etymology--> </font><font color=darkslategray><!--lang-->Latin<!--/lang--> </font><font color=darkgray> </font><font color=darkcyan><!--ff-->eloquent-<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speaking out’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->, from the verb <!--/etymology--> </font><font color=darkcyan><!--ff-->eloqui<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speak out’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->, from <!--/etymology--> </font><font color=darkcyan><!--ff-->e-<!--/ff--> </font><font color=dimgray><!--etymology--> (variant of <!--/etymology--> </font><font color=darkcyan><!--ff-->ex-<!--/ff--></font><font color=dimgray><!--etymology-->) <!--/etymology--> </font><font color=darkslateblue><b><!--etym_tr-->‘out’<!--/etym_tr--> </b></font><font color=dimgray><!--etymology--> + <!--/etymology--> </font><font color=darkcyan><!--ff-->loqui<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speak’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->.<!--/etymology--> </font> <dd> <br>
    <!--Example Bank--><dd><font color=darkslategray><u>Example Bank:</u></font><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->He grew very eloquent on the subject.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->He waxed eloquent about her talents as an actress.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->a very eloquent speaker<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->It was an eloquent and well-informed speech.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->She was an eloquent speaker, with a beautiful voice.<!--/x--> </font>

该代码的结果是:(在巴比伦(文字翻译)):

我的问题是:我怎样才能再现代码的最终外观(如图中所示)?我的意思是,它可能是一个html代码,如果我在浏览器中打开它,我会复制最终结果(我做了,但没有成功)

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2013-03-23 08:42:19

代码是用HTML实体编码的HTML。你必须破译所有的实体。然后,代码可以在浏览器中显示为HTML。

票数 0
EN

Stack Overflow用户

发布于 2013-03-23 08:41:11

代码语言:javascript
复制
</dl><dl><b>elo·quent</b> <!--id=000014151--><i>BrE</i> <font color=darkgray> </font><font color=darkcyan>[ˈeləkwənt]</font> <i>&amp;nbsp;</i><OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width=16 height=12 volume=100><PARAM NAME="EnableContextMenu" VALUE="False"><PARAM NAME="AutoStart" VALUE="False"><PARAM NAME="URL" VALUE="D:\Dictionaries\En-En-OALD8.dsl.files\z_eloquent__gb_1.wav"></OBJECT><i>&amp;nbsp;</i>
     <i>NAmE</i> <font color=darkgray> </font><font color=darkcyan>[ˈeləkwənt]</font> <i>&amp;nbsp;</i><OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width=16 height=12 volume=100><PARAM NAME="EnableContextMenu" VALUE="False"><PARAM NAME="AutoStart" VALUE="False"><PARAM NAME="URL" VALUE="D:\Dictionaries\En-En-OALD8.dsl.files\z_eloquent__us_1.wav"></OBJECT><i>&amp;nbsp;</i>
     <font color=orange> adjective</font><br>
</dt><dt><font color=darkmagenta><b>1.</b></font> <!--d-->able to use language and express your opinions well, especially when you are speaking in public<!--/d--><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->an <!--/x--> </font><b><font color=darkslategray><!--cl-->eloquent speech/speaker<!--/cl--> </font></b><br>
</dt><dt><font color=darkmagenta><b>2.</b></font> <font color=darkgray>(</font><font color=darkslategray><i><!--dc-->of a look or movement<!--/dc--></i></font><font color=darkgray>) </font><!--d-->able to express a feeling<!--/d--><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->His eyes were eloquent.<!--/x--> </font><font color=darkgray> </font><br>
    <!--Derived Word--><dd><font color=darkslategray><u>Derived Words:</u></font> <font color=gray size=0.1>↑ </font><font color=blue>eloquence</font> <font color=darkslategray><b>▪</b></font> <font color=gray size=0.1>↑ </font><font color=blue>eloquently</font><!--/Derived Word--> <dd> <br>
    <!--Word Origin--><dd><font color=darkslategray><u>Word Origin:</u></font><br>
<dd> <font color=rosybrown>[</font><font color=darkslategray><b>eloquence</b></font> <font color=darkslategray><b>eloquent</b></font> <font color=darkslategray><b>eloquently</b></font><font color=rosybrown>]</font> <font color=darkgray> </font><font color=darkslategray><!--lang-->late Middle English<!--/lang--></font><font color=dimgray><!--etymology-->: via <!--/etymology--> </font><font color=darkslategray><!--lang-->Old French<!--/lang--> </font><font color=dimgray><!--etymology--> from <!--/etymology--> </font><font color=darkslategray><!--lang-->Latin<!--/lang--> </font><font color=darkgray> </font><font color=darkcyan><!--ff-->eloquent-<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speaking out’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->, from the verb <!--/etymology--> </font><font color=darkcyan><!--ff-->eloqui<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speak out’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->, from <!--/etymology--> </font><font color=darkcyan><!--ff-->e-<!--/ff--> </font><font color=dimgray><!--etymology--> (variant of <!--/etymology--> </font><font color=darkcyan><!--ff-->ex-<!--/ff--></font><font color=dimgray><!--etymology-->) <!--/etymology--> </font><font color=darkslateblue><b><!--etym_tr-->‘out’<!--/etym_tr--> </b></font><font color=dimgray><!--etymology--> + <!--/etymology--> </font><font color=darkcyan><!--ff-->loqui<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speak’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->.<!--/etymology--> </font> <dd> <br>
    <!--Example Bank--><dd><font color=darkslategray><u>Example Bank:</u></font><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->He grew very eloquent on the subject.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->He waxed eloquent about her talents as an actress.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->a very eloquent speaker<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->It was an eloquent and well-informed speech.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->She was an eloquent speaker, with a beautiful voice.<!--/x--> </font>

另见:

http://www.htmlhelp.com/reference/html40/entities/special.html entities.asp

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15584876

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档