chinmay.sahoo
New member
The borderMaker.html page contains a very typical form with most of the major input elements in it. The code for this form follows:
Four score and seven years ago our fathers brought forth on this mcontinent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. Now we are engaged in a
great civil war, testing whether that nation or any nation so conceived and so dedicated can long endure.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="EN" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Border Maker</title>
<style type = "text/css">
h1, h2, h3 {
text-align:center;
}
textarea, button {
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
}
table {
margin-left: auto;
margin-right: auto
}
</style>
</head>
<body>
<h1>Border Maker</h1>
<h3>Demonstrates how to read HTML form elements</h3>
<form method = "post"
action = "borderMaker.php">
<div id = "input">
<h3>Text to modify</h3>
44 PHP 6/MySQL Programming for the Absolute Beginner
<textarea name = "basicText"
rows = "10"
cols = "40">
Four score and seven years ago our fathers brought forth on this mcontinent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. Now we are engaged in a
great civil war, testing whether that nation or any nation so conceived and so dedicated can long endure.