zoukankan      html  css  js  c++  java
  • WML1.1[zt]

    wml用法列表

    Decks and cards Timers Variables Anchored links Layout and text formatting
    Events Tasks Images User input Special characters

    Decks and cards

    Element Syntax
    <wml> <wml>
    <wml xml:lang="lang" >
    content
    </wml>
    <card> <card id="name"
    title="label"
    newcontext="boolean"
    style="style"
    onenterforward="url"
    onenterbackward="url"
    ontimer="url" >
    content
    </card>
    <template> <template onenterforward="url"
    onenterbackward="url"
    ontimer="url" >
    content
    </template>
    <head> <head>
    content
    </head>
    <access> <access domain="domain"
    path="path" />
    <meta> <meta name="name"|http-equiv="name"
    content="value"
    forua="true | false" />

    Timers

    Element Syntax
    <timer> <timer name="variable"
    value="value" />

    Variables

    Element Syntax
    <setvar> <setvar name="name"
    value="value" />

    Anchored links

    Element Syntax
    <anchor>  
    <a> <a title="label" >
    task
    text
    </a>

    Events

    Element Syntax
    <do> <do type="type"
    label="label"
    name="name"
    optional="boolean" >
    task
    </do>
    <onevent> <onevent type="type" >
    task
    </onevent>

    Tasks

    Element Syntax
    <go> <go href="url"
    sendreferer="boolean"
    method="method"
    accept-charset="charset"
    content
    </go>
    <prev> <prev>
    content
    </prev>
    <noop> <noop/>
    <refresh> <refresh>
    content
    </refresh>

    Images

    Element Syntax
    <img> <img alt="text"
    src="url"

    localsrc="icon"
    align="alignment"
    height="n"
    width="n"
    vspace="n"
    hspace="n" />

    User input

    Element Syntax
    <input> <input name="variable"
    title="label"
    type="type"
    value="value"

    default="default"
    format="specifier"
    emptyok="boolean"
    size="n"
    maxlength="n"
    tabindex="n" />
    <select> <select title="label"
    multiple="boolean"
    name="variable"

    default="default"
    iname="index_var"
    ivalue="default"
    tabindex="n" >
    content
    </select>
    <option> <option title="label"
    value="value"

    onpick="url" >
    content
    </option>
    <optgroup> <optgroup title="label" >
    content
    </optgroup>
    <fieldset> <fieldset title="label">
    content
    </fieldset>

    Layout and text formatting

    Element Syntax
    <b> <b>
    text
    </b>
    <big> <big>
    text
    </big>
    <em> <em>
    text
    </em>
    <i> <i>
    text
    </i>
    <p> <p align="alignment"
    mode="wrapmode" />
    <small> <small>
    text
    </small>
    <strong> <strong>
    text
    </strong>
    <table> <table align="alignment"
    title="label"

    columns="n"/>
    <td> <td>content</td>
    <tr> <tr>
    <td>
    content</td>
    </tr>
    <u> <u>
    text
    </u>

    Special characters

    Element Display character
    &lt; < (less than)
    &gt; > (greater than)
    &apos;

  • 相关阅读:
    迷宫
    【NOIP2001普及组】最大公约数和最小公倍数问题
    latex online tool
    连续自然数和
    又是毕业季Ⅰ
    区间素数
    【AHOI2005】约数研究
    【NOIP2011提高组】计算系数
    【NOIP2012普及组】寻宝
    plsql 导出oracle数据库
  • 原文地址:https://www.cnblogs.com/yesun/p/473581.html
Copyright © 2011-2022 走看看