23.12.2012 Views

ZK Developer's Guide

ZK Developer's Guide

ZK Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

[ 7 ]<br />

Chapter 1<br />

XHTML<br />

XHTML is the abbreviation of Extensible HyperText Markup Language. XHTML is very<br />

similar to HTML. Briefly, XHTML is HTML written in XML syntax. The following<br />

points are the most important differences:<br />

•<br />

•<br />

Example:<br />

The notation (uppercase/lowercase) of an element/attribute is important in<br />

XHTML (unlike of HTML).<br />

Elements without content (e.g. ) must be closed in XHTML<br />

(e.g. ).<br />

<br />

<br />

<br />

<br />

A XHTML example<br />

<br />

<br />

Testpage<br />

A paragraph<br />

anotherparagraph<br />

<br />

<br />

<br />

XUL<br />

XUL is the abbreviation for XML User Interface Markup Language. This "language"<br />

is not a new invention from the <strong>ZK</strong> team. It was originally defined by the Mozilla<br />

team. The project page of XUL is http://www.mozilla.org/projects/xul/. The<br />

intention of Mozilla is to have a platform-independent language to define user<br />

interfaces. And therefore, a <strong>ZK</strong> developer can benefit from the big community<br />

around XUL, and can use XUL widgets.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!