Home    News    Product    Order    Forum    Feedback    Partner    Profile  © Neatware 2000
 Neatware Snaml
     Search
  Text
Home  : Last Update: Sun Mar 26 01:13:26 2000

 
Snaml Control

 
Snaml Basic
      Introduction
      Syntax
      Control
      Types
      Modules
      Status
Snaml HTML
      HTML
      Structure
      Link
      Objects
      Text
      Font
Snaml CSS
      CSS
      Script
Snaml CGI
      CGI
      Variables
      Output
      Form
      Application
Snaml XML
      XML
      Document
      ENBF
  1. Whitespace

    Whitespaces are space ( ), tab ( ), form feed ( ), and zero-width space (​). The carriage return (CR) ( ) and line feed (LF) ( ) are also whitespaces in the HTML document. Whitespace characters will have no visual formatting effects. A number of whitespace will only compact to one space.

    _quote "These two are equal: {ABC   DEF} == {ABC DEF}"

  2. Structure

    The _em and _strong are two most common commands to make structural text. _em is emphasis (default italic) and _strong is strong emphasis (default bold). Other commands work for special purposes. The _cite command is a citation or reference to other source; _dfn command is the defining instance of the enclosed term; _code command is used to represent computer code; and _samp command is for the sample output. In addition, _var command marks the instance of a variable; _abbr command tags abbreviated form; _acronym command tags acronym; and _kbd command represents the text to be entered by user. Finally, _sup and _sub mark the text as superscript and subscript.

    _em; _quote "The emphasis is italic."; em_
    _strong; _quote "The strong is blod."; strong_
    _cite; _quote "citation"; cite_
    _dfn; _quote "defining instance"; dfn_
    
    _code; _quote "computer code"; code_
    _samp; _quote "sample output"; samp_
    _var; _quote "variable"; var_
    _abbr; _quote "abbreviated form"; abbr_
    
    _quote [_acronym_ "acronym"]
    _quote [_kbd_ "entered text"]
    _quote [_sub_ "subscript"]
    _quote [_sup_ "superscript"]
    

    _blockquote and _q command are for long and short quotation respectively. Browsers generally render _blockquote as an indented block. _q command generally shows text with delimiting quotation marks. _blockquote is suitable to use with CSS.

    _blockquote "id='group'" 
      _quote "block words." 
    blockquote_
    _q; _quote "quote words"; q_
     		

  3. Paragraph

    _p command defines a paragraph. It is also used as a newline in the Snaml. Its 'clear' attribute specifies the property that floats around another object. _br command forces a line break. The character ' ' is a real space.

    Plain hyphen is just a regular character '-'. However, the soft hypehn is represented as ­ (­). Usually a browser did not display soft hyphen if a line is not broken at a soft hyphen, otherwise it displays the '-' in the end of a line.

    _pre command defines preformatted text. It will render the text content of the _pre command "as is". All the newline and space characters will be kept.

    Finally, _ins and _del commands mark the sections of a document that has been inserted or deleted. They are rarely used.

    _p "clear=right"
      _quote "float paragraph"; _br
      _quote "in the document."
    p_
    
    _pre
      _quote "preformatted text with space and newline."
    pre_
    		

Whitespace

Structure

Paragraph

     
Home  : Last Update: Sun Mar 26 01:13:26 2000
     Search
  Text
 Neatware Snaml
Home    News    Product    Order    Forum    Feedback    Partner    Profile  © Neatware 2000