title: difference between out.println("<html>Hello World</html>") and out.println("Hello World")
body: <p>I don't have much knowledge in HTML. I am just starting to learn servlet and JSP. But why are we putting HTML tags in Servlet or JSP, when it gives the same result that is put in <code>out.println()</code>. If you cant understand my question what is the difference between <code>out.println("&lt;html&gt;Hello World&lt;/html&gt;")</code> and <code>out.println("Hello World")</code>? Both gives the same output when the servlet is run.</p>