HTML tags in textfield

Source: Internet
Author: User
HTML tags in textfieldif You Want To Format Text in field using old HTML Tag here is simple list of possible tags:

  • <A> hyperlink. has two parameters:
    • Target-target window
    • Href-URL (or event !)
  • <B>-text betwen those tags will be bold
  • <Br>-breaks line
  • <Font>-describes Font:
    • Color-color of the text. Must be in hex (with # At the begining)
    • Face-font name
    • Size-font size
  • allows to embed image (or SWF) Like in HTML site. Here is a list of supported properties:
    • Src-source of Media
    • Width-width of rectangle where media is placed (always in px)
    • Height-height of rectangle where media is placed (always in px)
    • Align-horizontal alignment. Left or Right. specifies on which side text will flow around the image
    • Hspace-horizontal margin around media. By default it is 8px
    • Vspace-vertical margin around media. By default it is 8px
    • ID-identifier for embedded media. Used to Controll it
    • Checkpolicyfile-connected to the security policy. Used with Flash SWF file embedded
  • <I>-text between those tags will be italic.
  • <Li>, <ul>, <ol>-lists. Ordered and dotted
  • <P>-paragraph. Supports only two attributes:
    • Align-specifies if text block is aligned to left/right/center or justify
    • Class-connects with CSS class
  • <Span>-inline part of text that allows only one attribute:
    • Class-classname from CSS
  • <U>-text between those tags will be underlined
Complete description in Adobe's API: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.html#htmlText

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.