Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » HTML question, did I do something wrong?
Closed Thread
Old 04-15-2006, 09:52 PM   #1 (permalink)
 
Newb Techie

Join Date: Apr 2006

Posts: 7

Arithus

Default HTML question, did I do something wrong?

When I write this code in my edit profile (on myspace) it looks alright but for some reason when I click submit it takes me to google. I don't understand it. I should be able to click submit and have the search engine show up on my profile. The reason I am writing it here instaed of myspace is because for some reason I am unable to post or reply there right now.

Here's the code tell me if it is written wrong...



<form action="http://www.google.com/search" method="get"><input maxlength=2048 size=35 name=q value="" title="Google Search">
<input type=submit value="Google search" name=btnG>


This is what I want to show up on my profile...(look at my sig)
Arithus is offline  
Old 04-16-2006, 02:29 PM   #2 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

Code:
<form action="http://www.google.com/search" method="get">
that says submit the information in the form to http://www.google.com/search using a get operation. Google's page is designed to return their own results page based on the input provided.
office politics is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On