Neatware Header
Home   Products   Forums   Partners   Buy   Company   Contact   Blog   

Core Modules

Core module includes Structure, Meta, Text, Hypertext, and List modules.

Structure Module

Structure Module includes html, head, title and body elements. _html specifies the xml namespace and language. html_ specifies the end of xhtml. _xhtml and xhtml_ are also used for the html. For example,

_html "xmlns='http://www.w3.org/1999/xhtml' 
       xml:lang='en' lang='en'"
html_
_head command specifies the human readable and machine readable head information of an XHTML document. The _title command must appear inside the _head content. Other commands are optional. For example,
_head
  _title "title='Document'"
    quote "Title"
  title_
head_
A browser will display the value of the title attribute on the title bar. Typically, 'title' attribute is used as a tooltip of a command.

_body command specifies the content of an XHTML document. It has the COMMON attribute set. Style sheets are now the preferred way to describe the presentation.

_body
  quote "XHTML content"
body_

Meta Module

__meta command sets machine readable information. Its 'name' attribute defines the property name; 'content' attribute defines the property value; 'scheme' attribute interprets the property value; 'lang' attribute specifies the language; and 'http-equiv' attribute provides HTTP server information for response header.

__meta "name='author' content='David Robert' scheme='ISBN Author'"
__meta "http-equiv='Expires' content='Fri, 25 Dec 1998'" 

http-equiv may be used to wait seconds and refresh to another page. Following example waiting 2 seconds and switch to new URL in content.

__meta "http-equiv='refresh' content='2, http://www.neatware.com'" 

When the name's value is a keyword, it is helpful to list a series of keywords in the content's value for search engine readable.

__meta "name='keywords' lang='en-us' content='Snaml Generic'"        

Text, List, and Hypertext Modules

Text Module consists of h1-h6 for heading; div, p, and pre for block; span, br, em, and strong for inline. Other deprciated commands are abbr, acronym, address, cite, code, dfn, kbd, samp, var, q, and blockquote. Developers should avoid to use the deprciated commands.

List Module includes ul, ol, li, dl, dt, and dd elements.

Hypertext Module includes the _a command.

Refer to Text List, and Link for more details.