WML Tag Reference

Bookmark this page

The Image Element - <img>

Description:
Allows an image to be included in the text flow.


Example:
<img src="pic.wbmp"/>


Attributes
Name Value Description
alt CDATA Specifies an alternative text for an image.
src HREF Specifies the URI of the image file.
localsrc CDATA Specifies an alternative internal representation of the image.
vspace length Specifies the amount of white space to be inserted above and below the image.
hspace length Specifies the amount of white space to be inserted to the left and right of the image.
align (top|middle|bottom) Specifies the image alignment within the text flow.
height length Specifies the height of the image
width length Specifies the width of the image
id ID Sets the unique name for the element.
class CDATA Associates the element with a defined class.
xml:lang NMTOKEN IMPLIED. Specifies the natural or formal language of an element.


Back to Tag Listing

材料来源 http://www.wirelessdevnet.com/channels/refview.phtml?cat=wmltags 本电子书由gudai制作,仅供学习参考,如有意见,欢迎email:base5@126.com。或访问我的博客http://gudai.cnblogs.com