[tables] What does this do?

P

Philip

Someone asked me to write a homepage for their business, but because I
didn't know a lot of html (I don't need a lot for what I do), I declined.
He got someone else to do it, but for some reason they refused to upload
it, so he asked me if I could upload it. I said sure, and he gave me it on
a cd-r. While going over it though, I noticed an ordering form. I've never
used forms myself, so I didn't know what to make of it. I tried looking at
some html references, and something does indeed seem a little fishy about
it. But then, it could just be my ignorance on tables/forms. Here's the
relevant html:

<table>
<tr>
<td>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Name:</font></b></td> <td width="200"
height="20"><input name="name" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Mail:</font></b></td> <td width="200"
height="20"><input name="E-mail" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Phone:</font></b></td> <td width="200"
height="20"><input name="phone" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Address:</font></b></td> <td width="200"
height="20"><input name="Address" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Assembled:</font></b></td> <td width="200"
height="20"><input type="checkbox" name="Assembled"
style="background-color: #FFFFFF; color: #000000; font-family:
Verdana; border: 1px; border-color: #000000;border-style: solid"></td>
</tr>
<tr>
<td width="100" height="19"><input name="post" type="submit"
style="background-color: #FFFFFF; color: #000000; font-family: Verdana;
border: 1px; border-color: #000000; border-style: solid"
value="Order"></td> </tr>
</td>
</tr>
</table>
</div>

[end]

The thing that bothers me is the bit at the bottom. AFAIK, usually when
one submits a form, it gets passed to a serverside script. This doesn't
seem to go anywhere. I want to upload this thing, but I'm hesitant,
because I don't want the guy to have a homepage with a dummy form on it.
Neither do I want to have to learn more html (or God forbid, perl), I
mean, that's why I declined in the first place.
 
J

John

Philip said:
Someone asked me to write a homepage for their business, but because I
didn't know a lot of html (I don't need a lot for what I do), I declined.
He got someone else to do it, but for some reason they refused to upload
it, so he asked me if I could upload it. I said sure, and he gave me it on
a cd-r. While going over it though, I noticed an ordering form. I've never
used forms myself, so I didn't know what to make of it. I tried looking at
some html references, and something does indeed seem a little fishy about
it. But then, it could just be my ignorance on tables/forms. Here's the
relevant html:

<table>
<tr>
<td>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Name:</font></b></td> <td width="200"
height="20"><input name="name" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Mail:</font></b></td> <td width="200"
height="20"><input name="E-mail" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Phone:</font></b></td> <td width="200"
height="20"><input name="phone" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Address:</font></b></td> <td width="200"
height="20"><input name="Address" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Assembled:</font></b></td> <td width="200"
height="20"><input type="checkbox" name="Assembled"
style="background-color: #FFFFFF; color: #000000; font-family:
Verdana; border: 1px; border-color: #000000;border-style: solid"></td>
</tr>
<tr>
<td width="100" height="19"><input name="post" type="submit"
style="background-color: #FFFFFF; color: #000000; font-family: Verdana;
border: 1px; border-color: #000000; border-style: solid"
value="Order"></td> </tr>
</td>
</tr>
</table>
</div>

[end]

The thing that bothers me is the bit at the bottom. AFAIK, usually when
one submits a form, it gets passed to a serverside script. This doesn't
seem to go anywhere. I want to upload this thing, but I'm hesitant,
because I don't want the guy to have a homepage with a dummy form on it.
Neither do I want to have to learn more html (or God forbid, perl), I
mean, that's why I declined in the first place.

You haven't included the <form> tag which will specify the action taken
on submit. It's messy html/css but nothing sinister.

If I were you I would upload the whole lot and see what it does. If you
are suspicious then don't enter any sensitive data into the forms.

It sounds like your friend needs to get himself a decent web designer
who will sort out the whole package rather than a selection of people
doing different tasks.

John
 
A

Animesh K

John said:
Philip said:
Someone asked me to write a homepage for their business, but because I
didn't know a lot of html (I don't need a lot for what I do), I declined.
He got someone else to do it, but for some reason they refused to upload
it, so he asked me if I could upload it. I said sure, and he gave me
it on
a cd-r. While going over it though, I noticed an ordering form. I've
never
used forms myself, so I didn't know what to make of it. I tried
looking at
some html references, and something does indeed seem a little fishy about
it. But then, it could just be my ignorance on tables/forms. Here's the
relevant html:

<table>
<tr>
<td>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Name:</font></b></td> <td width="200"
height="20"><input name="name" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Mail:</font></b></td> <td width="200"
height="20"><input name="E-mail" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Phone:</font></b></td> <td width="200"
height="20"><input name="phone" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Address:</font></b></td> <td width="200"
height="20"><input name="Address" type="text"
style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Assembled:</font></b></td> <td width="200"
height="20"><input type="checkbox" name="Assembled"
style="background-color: #FFFFFF; color: #000000; font-family:
Verdana; border: 1px; border-color: #000000;border-style:
solid"></td>
</tr>
<tr>
<td width="100" height="19"><input name="post" type="submit"
style="background-color: #FFFFFF; color: #000000; font-family: Verdana;
border: 1px; border-color: #000000; border-style: solid"
value="Order"></td> </tr>
</td>
</tr>
</table>
</div>

[end]

The thing that bothers me is the bit at the bottom. AFAIK, usually when
one submits a form, it gets passed to a serverside script. This doesn't
seem to go anywhere. I want to upload this thing, but I'm hesitant,
because I don't want the guy to have a homepage with a dummy form on it.
Neither do I want to have to learn more html (or God forbid, perl), I
mean, that's why I declined in the first place.

You haven't included the <form> tag which will specify the action taken
on submit. It's messy html/css but nothing sinister.

It seems like a frontpage garbage and not messy css :)

Best
A
 
J

Jonathan N. Little

Philip said:
Someone asked me to write a homepage for their business, but because I
didn't know a lot of html (I don't need a lot for what I do), I declined.
He got someone else to do it, but for some reason they refused to upload
it, so he asked me if I could upload it. I said sure, and he gave me it on
a cd-r. While going over it though, I noticed an ordering form. I've never
used forms myself, so I didn't know what to make of it. I tried looking at
some html references, and something does indeed seem a little fishy about
it. But then, it could just be my ignorance on tables/forms. Here's the
relevant html:

<table>
<tr>
<td>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
<snip>

<table><tr><td><tr><td>...

Ah, no...check validity of your html... tr child of td?!?
 
L

Lauri Raittila

in said:
Philip wrote:
<snip>

<table><tr><td><tr><td>...

Ah, no...check validity of your html... tr child of td?!?

It is valid HTML. But why have one empty cell in otherwise empty row?
Especially as later there is more cells, so table is not balanced right.
 
D

dorayme

From: Philip said:
I want to upload this thing, but I'm hesitant,
because I don't want the guy to have a homepage with a dummy form on it.
Neither do I want to have to learn more html (or God forbid, perl), I
mean, that's why I declined in the first place.


You could upload it to test it by putting it in a folder called, say,
"draft") then getting onto a browser and seeing it with an address including
something like "draft/nameOfFile.html" at the end.

dorayme
 
J

JDS

The thing that bothers me is the bit at the bottom. AFAIK, usually when
one submits a form, it gets passed to a serverside script. This doesn't
seem to go anywhere. I want to upload this thing, but I'm hesitant,
because I don't want the guy to have a homepage with a dummy form on it.
Neither do I want to have to learn more html (or God forbid, perl), I
mean, that's why I declined in the first place.

Not only does it not "seem" to go anywhere, it actually really doesn't go
anywhere.

I hope your friend didn't pay too much for this HTML page, unless they
really did want a dummy form.
 
J

Jonathan N. Little

Lauri said:
It is valid HTML. But why have one empty cell in otherwise empty row?
Especially as later there is more cells, so table is not balanced right.
Yes, the closing tag for TD and TR are optional per the spec but since
he is using them it look more like he is nesting a '<tr><td></td><tr>'
within a paired '<td></td>'s which I do not this is legit
 
A

Adrienne

Someone asked me to write a homepage for their business, but because I
didn't know a lot of html (I don't need a lot for what I do), I
declined. He got someone else to do it, but for some reason they
refused to upload it, so he asked me if I could upload it. I said sure,
and he gave me it on a cd-r. While going over it though, I noticed an
ordering form. I've never used forms myself, so I didn't know what to
make of it. I tried looking at some html references, and something does
indeed seem a little fishy about it. But then, it could just be my
ignorance on tables/forms.

The thing that bothers me is the bit at the bottom. AFAIK, usually when
one submits a form, it gets passed to a serverside script. This doesn't
seem to go anywhere. I want to upload this thing, but I'm hesitant,
because I don't want the guy to have a homepage with a dummy form on
it. Neither do I want to have to learn more html (or God forbid, perl),
I mean, that's why I declined in the first place.

As said in a previous post, there is no FORM element, which usually
contains the action of where the name/value pairs are processed.

If you don't want to upload the form, then set your system up as a web
server and test it on your own machine. Then you can see what the form
might do. If you have a windows machine, then you can set up IIS using XP
Pro or Personal Web Server for 98.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top