跳到主要内容

9. 示例

把以上所有内容放在一起, 下面的 "text/enriched" 正文片段:

From: Nathaniel Borenstein <[email protected]>
To: Ned Freed <[email protected]>
Content-type: text/enriched

<bold>Now</bold> is the time for
<italic>all</italic> good men
<smaller>(and <<women>)</smaller> to
<ignoreme>come</ignoreme>

to the aid of their

<x-color><param>red</param>beloved</x-color>
country.

By the way, I think that <<smaller>

should

REALLY be called

<<tinier>
and that I am always right.

-- the end

表示以下格式化文本 (毫无疑问, 在本文档的纯文本版本中它看起来会有些费解):

Now is the time for all good men (and <women>)  to
come
to the aid of their

beloved country.
By the way, I think that <smaller>
should
REALLY be called
<tinier>
and that I am always right.
-- the end

其中, 如果接收软件实现了 "x-color" 扩展, 则 "beloved" 一词在彩色显示器上将显示为红色.