git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1744 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2008-03-05 17:05:48 +00:00
parent e84fc5b4ec
commit 3047a389a8
1 changed files with 3 additions and 3 deletions

View File

@ -587,12 +587,12 @@
<message>
<body>Hey, are you licensed to Jabber?
http://www.jabber.org/images/psa-license.jpg
http://www.xmpp.org/images/psa-license.jpg
</body>
<html xmlns='http://jabber.org/protocol/xhtml-im'>
<body xmlns='http://www.w3.org/1999/xhtml'>
<p>Hey, are you licensed to <a href='http://www.jabber.org/'>Jabber</a>?</p>
<p><img src='http://www.jabber.org/images/psa-license.jpg'
<p><img src='http://www.xmpp.org/images/psa-license.jpg'
alt='A License to Jabber'
height='261'
width='537'/></p>
@ -603,7 +603,7 @@
<p>This could be rendered as follows:</p>
<div class='indent'>
<p>Hey, are you licensed to <link url='http://www.jabber.org/'>Jabber</link>?</p>
<p><img src='http://www.jabber.org/images/psa-license.jpg' alt='A License to Jabber' height='261' width='537'/></p>
<p><img src='http://www.xmpp.org/images/psa-license.jpg' alt='A License to Jabber' height='261' width='537'/></p>
</div>
<p>Note the large size of the image. Including the 'height' and 'width' attributes is therefore quite friendly, since it gives the receiving application hints as to whether the image is too large to fit into the current interface (naturally, these are hints only and cannot necessarily be relied upon in determining the size of the image).</p>
<p>Rendering the 'alt' value rather than the image would yield something like the following:</p>