Java Reference
In-Depth Information
At this point the page should look like this:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<title>Developer Survey</title>
</head>
<body>
<h2>Welcome To The Developer Survey</h2>
<p>
Please indicate which programming languages you are
familiar with.
</p>
</body>
</html>
Modifications to the page are highlighted. As most readers are probably aware, all
HTML input fields need to be nested inside an HTML form, therefore the first thing
we need to do to our page is to add a form tag to it. We can either type the HTML
directly into the page, or we can drag-and-drop the form from the NetBeans palette
into the page.
 
Search WWH ::




Custom Search