C-HTML (for "Compact HTML") is a subset of the HTMLmarkup language that works on DoCoMo's i-mode mobile phones. C-HTML also adds several additional features not found in standard HTML, notably the accesskeys, phone number shortcuts for links, and emoji pictorial characters as locally extended Shift-JIS, all concepts borrowed halfway from HDML/WML.
C-HTML was developed by ACCESS and major Japanese handset manufacturers in 1998 and is an alternative to WML and XHTML Basic. It is considered superior by some people as it is compatible with HTML, thus allowing C-HTML websites to be viewed using standard web browsers and created using standard web tools, with a minimum of post-processing and validation.
In addition, C-HTML does not have the "card" structure of WML, thought by some to be clumsy.
XHTML Basic is expected to replace C-HTML in the near future as more compliant user agents are developed. (XHTML is now supported by au/KDDI's EZ wireless data services in Japan and many other WAP operators around the world.)
External link
Compact HTML for Small Information Appliances — W3C NOTE 09-Feb-1998 (http://www.w3.org/TR/1998/NOTE-compactHTML-19980209/)
This paper describes Chtml, which is a way to abstract html tricks from programming tricks by considering html files, or portions of html files, to be templates or chunks of html upon which simple substitutions are made.
However, the implementation of Chtml had to be designed to be simple enough to meet strict time-to-market goals, and the author could not assume that tools were available that could manipulate SGML, as only basic HTML tools were generally available at the time.
The html templates are compiled using the chtml command, documention on the arguments is available using the unix man command or in the file chtml.txt.