1 <?xml version="1.0" encoding="utf-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
6 <title>XMPP Chat</title>
7 <link rel="stylesheet" type="text/css" href="style.css" />
8 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
9 <script type="text/javascript" src="jsjac-1.3.1/jsjac.js"></script>
10 <script type="text/javascript" src="main.js"></script>
15 <form id="loginForm" onsubmit="return doLogin(this);" action="#">
17 <input type="text" name="nickname" id="nickname" />
18 <input type="submit" value="Join" />
30 <form id="textForm" onsubmit="return sendMessage(this);" action="#">
31 <input type="text" name="text" id ="text" />
32 <input type="submit" id="text_submit" value="Send"/>