zoukankan      html  css  js  c++  java
  • HTML tags in textfield

    HTML tags in textfield

    If 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
    • <img>  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
  • 相关阅读:
    npx
    EOS踩坑记 2
    Communication Model
    EOS踩坑记
    Windows导入EOS工程
    搭建EOS环境
    加入EOS主网
    Add Inline Actions
    Secondary Indices
    Data Persistence
  • 原文地址:https://www.cnblogs.com/cnsoft/p/2856496.html
Copyright © 2011-2022 走看看