tag supports hexadecimal color (#FFFFFF) values. For example, the following HTML code creates red text:
This is red text
IMAGE TAG ----------------------------------------------------------------------------------------------------
The
tag lets you embed external image files (JPEG, GIF, PNG), SWF files, and movie clips inside text fields and TextArea component instances. Text automatically flows around images you embed in text fields or components.
The
tag has one required attribute, src, which specifies the path to an image file, a SWF file. All other attributes are optional.
The
tag supports the following attributes:
-src Specifies the URL to an image or SWF file, or the linkage identifier for a movie clip symbol in the library. This attribute is required; all other attributes are optional. External files (JPEG, GIF, PNG, and SWF files) do not show until they are downloaded completely.
-id Specifies the name for the movie clip instance (created by Flash Player) that contains the embedded image file, SWF file, or movie clip. This is useful if you want to control the embedded content with ActionScript.
-width The width of the image, SWF file, or movie clip being inserted, in pixels.
-height The height of the image, SWF file, or movie clip being inserted, in pixels.
-align Specifies the horizontal alignment of the embedded image within the text field. Valid values are left and right. The default value is left.
-hspace Specifies the amount of horizontal space that surrounds the image where no text appears. The default value is 8.
-vspace Specifies the amount of vertical space that surrounds the image where no text appears. The default value is 8.
LIST ITEM TAG ----------------------------------------------------------------------------------------------------
The tag places a bullet in front of the text that it encloses, as shown in the following code:
Grocery list:
Apples
Oranges
Lemons
PARAGRAPH TAG ----------------------------------------------------------------------------------------------------
The tag creates a new paragraph.
The
tag supports the following attributes:
align Specifies alignment of text within the paragraph; valid values are left, right, justify, and center.
The following example uses the align attribute to align text on the right side of a text field.
This text is aligned on the right side of the text field