Using html elements in ZK

Reading Time: < 1 minute

Well today I had to face this situation since I am a newbie in ZK Framework. In a single line in my code I had to leave a new space between two different components I found the solution first of all we need to add the ZK html namespace in our code and with the namespace we can use zk specialized html elements

<zk xmlns:h="http://www.w3.org/1999/xhtml" xmlns:zk="http://www.zkoss.org/2005/zk">
	<window  title="ZK HTML Elements" width="300px"
		border="normal">
		<label value="First element"/>
<h:br />
		<label value="Second Element" />
<h:br />
<h:p>Another<h:br /> break <h:br /> example </h:p>
	</window>
</zk>