Dear Friend,
Thanks for the explanation. I looked at your code keeping in JAVA what you specified and never thought about HTML.
No problem to reply your question. About my level in HTML....my reply is that I place myself in intermediate category. I am more keen into web development than web designing. With the advent of great software like XSitePro etc. hardly now you require to know HTML for your own website.
However, I am experimenting these elements of HTML and JAVA codes.