| Learning HTML | |
|
|
Author | Message |
---|
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Learning HTML Tue Mar 04, 2008 8:26 pm | |
| I don't really have particular reason to learn HTML formatting, but I kind of want to learn. I made a very simple page that is basically worthless. It's the first "page" I've ever created in HTML. - Code:
-
<HTML> <HEAD> <TITLE>This is an HTML Page. I used HTML to create it</TITLE> </HEAD>
<BODY> <p>This is some text</p>
</HTML>
| |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Tue Mar 04, 2008 8:27 pm | |
| Up next is something a hair more complicated. I took a code I found online and added to it. BEFORE: - Code:
-
<FORM method="post" action="bar.php"> <TABLE border="1"> <TR bgcolor="#CCCCFF"> <TH>Name</TH> <TH>Value</TH> </TR> <TR> <TD>Name</TD> <TD> <input type="text" size="25"> </TD> </TR> <TR> <TD>Sex</TD> <TD> <input type="radio" name="sex" value="male"> Male <BR> <input type="radio" name="sex" value="female" checked> Female </TD> </TR> <TR> <TD>Eye color</TD> <TD> <select name="eye color"> <option>blue</option> <option>brown</option> <option selected>green</option> <option>other</option> </select> </TD> </TR> <TR> <TD>Check all that apply</TD> <TD> <input type="checkbox" name="height" value="1"> Over 6 feet tall</input> <BR> <input type="checkbox" name="weight" value="1"> Over 200 pounds</input> </TD> </TR> <TR> <TD colspan="2">Describe your athletic ability:<BR> <textarea name="athletic" cols="50" rows="4"></textarea> </TD> </TR> <TR> <TD colspan="2" align="center"> <input type="submit" value="Enter my information"> </TD> </TR> </TABLE> </FORM>
AFTER: - Code:
-
<HTML> <HEAD> <TITLE>This is an HTML Page. I used HTML to create it</TITLE> </HEAD>
<BODY> <p>This is some text</p>
<FORM method="post" action="bar.php"> <TABLE border="1"> <TR bgcolor="#CCCCFF"> <TH>Name</TH> <TH>Value</TH> </TR> <TR> <TD>Name</TD> <TD> <input type="text" size="25"> </TD> </TR> <TR> <TD>Sex</TD> <TD> <input type="radio" name="sex" value="male"> Male <BR> <input type="radio" name="sex" value="female" checked> Female<BR> <input type="radio" name="sex" value="yes, please">Yes, Please </TD> </TR> <TR> <TD>Eye color</TD> <TD> <select name="eye color"> <option>blue</option> <option>brown</option> <option>red</option> <option selected>green</option> <option>other</option> </select> </TD> </TR> <TR> <TD>Check all that apply</TD> <TD> <input type="checkbox" name="height" value="1"> Over 6 feet tall</input> <BR> <input type="checkbox" name="weight" value="1"> Over 200 pounds</input> </TD> </TR> <TR> <TD colspan="2">Describe your athletic ability:<BR> <textarea name="athletic" cols="50" rows="4"></textarea> </TD> </TR> <TR> <TD>Pick a Password</TD> <TD> <input type="password" name="password" value="1">Password</input><BR> </TD> </TR> <TR> <TD colspan="2" align="center"> <input type="submit" value="Enter my information"> </TD> </TR>
</TABLE> </FORM> </html>
| |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Tue Mar 04, 2008 8:30 pm | |
| What's the difference between those two? This: BEFORE: AFTER: Can anyone come up with something better than my first code | |
|
| |
iluvpudge7 Erie SeaWolf
Number of posts : 2194 Location : MI :) Favorite Current Tiger(s) : Not sure yet... Reputation : 0 Registration date : 2007-10-06
| Subject: Re: Learning HTML Tue Mar 04, 2008 8:30 pm | |
| I think I would need an aspirin if I tried that... | |
|
| |
iluvpudge7 Erie SeaWolf
Number of posts : 2194 Location : MI :) Favorite Current Tiger(s) : Not sure yet... Reputation : 0 Registration date : 2007-10-06
| Subject: Re: Learning HTML Tue Mar 04, 2008 8:31 pm | |
| Are we supposed to fill those boxes out :haha: | |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Tue Mar 04, 2008 8:39 pm | |
| - iluvpudge7 wrote:
- Are we supposed to fill those boxes out :haha:
LOL! If you want to copy the code, open up notepad. Save the file to your desktop as page.htm (or any name...make sure it ends in .htm though!!). Close notepad. Open up the saved file and it should open up in your browser. The information you submit goes nowhere - I don't know how to make it redirect to somewhere. | |
|
| |
gs78 Detroit Tiger
Number of posts : 27687 Age : 46 Location : Trashy Park Michigan Favorite Current Tiger(s) : Dontrelle Willis, Brandon Inge, Maggs, Verlander, Granderson, Pudge and Todd Jones Reputation : 9 Registration date : 2007-10-06
| Subject: Re: Learning HTML Wed Mar 05, 2008 1:45 am | |
| ????????????????????????????????????????????????????????? | |
|
| |
bobrob2004 DTF1 MODERATOR Detroit Tiger
Number of posts : 10646 Age : 39 Location : Warren, MI Reputation : 12 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 10:17 am | |
| You can make the information go to an email address. Just change the value in - Code:
-
<input type="submit" value="Enter my information"> to an e-mail address. But because the page isn't published, (ie, on a www site) it'll probably not go anywhere. | |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 1:59 pm | |
| - bobrob2004 wrote:
- You can make the information go to an email address. Just change the value in
- Code:
-
<input type="submit" value="Enter my information"> to an e-mail address. But because the page isn't published, (ie, on a www site) it'll probably not go anywhere. Cool! I'll add that later. | |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 2:08 pm | |
| - catbox_9 wrote:
- bobrob2004 wrote:
- You can make the information go to an email address. Just change the value in
- Code:
-
<input type="submit" value="Enter my information"> to an e-mail address. But because the page isn't published, (ie, on a www site) it'll probably not go anywhere. Cool! I'll add that later. I'm confused. If I change input type ="submit" to an email the button goes away. If I change value="Enter my information" to an email address the button says the email address instead of enter my information. | |
|
| |
bobrob2004 DTF1 MODERATOR Detroit Tiger
Number of posts : 10646 Age : 39 Location : Warren, MI Reputation : 12 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 2:12 pm | |
| - catbox_9 wrote:
- catbox_9 wrote:
- bobrob2004 wrote:
- You can make the information go to an email address. Just change the value in
- Code:
-
<input type="submit" value="Enter my information"> to an e-mail address. But because the page isn't published, (ie, on a www site) it'll probably not go anywhere. Cool! I'll add that later. I'm confused. If I change input type ="submit" to an email the button goes away. If I change value="Enter my information" to an email address the button says the email address instead of enter my information. you have to add this piece of code after value=something, - Code:
-
action="mailto: e-mail@something.com" (be sure to keep in within the brackets). | |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 5:16 pm | |
| I did that. I think it works. You say it won't actually mail me anything unless it's part of a real website, right? | |
|
| |
bobrob2004 DTF1 MODERATOR Detroit Tiger
Number of posts : 10646 Age : 39 Location : Warren, MI Reputation : 12 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 5:20 pm | |
| - catbox_9 wrote:
- I did that. I think it works. You say it won't actually mail me anything unless it's part of a real website, right?
I don't think so, but you can try! | |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 5:28 pm | |
| - bobrob2004 wrote:
- catbox_9 wrote:
- I did that. I think it works. You say it won't actually mail me anything unless it's part of a real website, right?
I don't think so, but you can try! well how do you make it work then? | |
|
| |
bobrob2004 DTF1 MODERATOR Detroit Tiger
Number of posts : 10646 Age : 39 Location : Warren, MI Reputation : 12 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 5:33 pm | |
| - catbox_9 wrote:
- bobrob2004 wrote:
- catbox_9 wrote:
- I did that. I think it works. You say it won't actually mail me anything unless it's part of a real website, right?
I don't think so, but you can try! well how do you make it work then? Well, what happened when you filled it out and hit the button? Did you receive an e-mail? If not, just put it up on this site and fill it out and it should work. Is that what you want to do? Put up a form on this site? | |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 5:36 pm | |
| | |
|
| |
bobrob2004 DTF1 MODERATOR Detroit Tiger
Number of posts : 10646 Age : 39 Location : Warren, MI Reputation : 12 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 5:41 pm | |
| - catbox_9 wrote:
- Okay, I made https://dtf1.forumotion.com/Test-h15.html
When I hit submit I get a "No input file specified" message on the next page. Do I have to code which of those files get mailed to me? Hmmm... I don't know...I need to look this up... | |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 5:43 pm | |
| Here's the code (maybe it's wrong somewhere?): - Code:
-
<HTML> <HEAD> <TITLE>This is an HTML Page. I used HTML to create it</TITLE> </HEAD>
<BODY> <p>This is some text</p>
<FORM method="post" action="bar.php"> <TABLE border="1"> <TR bgcolor="#CCCCFF"> <TH>Name</TH> <TH>Value</TH> </TR> <TR> <TD>Name</TD> <TD> <input type="text" size="25"> </TD> </TR> <TR> <TD>Sex</TD> <TD> <input type="radio" name="sex" value="male"> Male <BR> <input type="radio" name="sex" value="female" checked> Female<BR> <input type="radio" name="sex" value="yes, please">Yes, Please </TD> </TR> <TR> <TD>Eye color</TD> <TD> <select name="eye color"> <option>blue</option> <option>brown</option> <option>red</option> <option selected>green</option> <option>other</option> </select> </TD> </TR> <TR> <TD>Check all that apply</TD> <TD> <input type="checkbox" name="height" value="1"> Over 6 feet tall</input> <BR> <input type="checkbox" name="weight" value="1"> Over 200 pounds</input> </TD> </TR> <TR> <TD colspan="2">Describe your athletic ability:<BR> <textarea name="athletic" cols="50" rows="4"></textarea> </TD> </TR> <TR> <TD>Pick a Password</TD> <TD> <input type="password" name="password" value="1">Password</input><BR> </TD> </TR> <TR> <TD colspan="2" align="center"> <input type="submit" value="Submit" action="mailto: catbox_9@hotmail.com"> </TD> </TR>
</TABLE> </FORM> </html>
| |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 5:50 pm | |
| Another new code: - Code:
-
<HTML> <HEAD> <TITLE>This is an HTML Page. I used HTML to create it</TITLE> </HEAD>
<BODY> <p>This is some text</p>
<FORM method="post" action="bar.php"> action="mailto: catbox_9@hotmail.com" method="post" enctype="text/plain" <TABLE border="1"> <TR bgcolor="#CCCCFF"> <TH>Name</TH> <TH>Value</TH> </TR> <TR> <TD>Name</TD> <TD> <input type="text" size="25"> </TD> </TR> <TR> <TD>Sex</TD> <TD> <input type="radio" name="sex" value="male"> Male <BR> <input type="radio" name="sex" value="female" checked> Female<BR> <input type="radio" name="sex" value="yes, please">Yes, Please </TD> </TR> <TR> <TD>Eye color</TD> <TD> <select name="eye color"> <option>blue</option> <option>brown</option> <option>red</option> <option selected>green</option> <option>other</option> </select> </TD> </TR> <TR> <TD>Check all that apply</TD> <TD> <input type="checkbox" name="height" value="1"> Over 6 feet tall</input> <BR> <input type="checkbox" name="weight" value="1"> Over 200 pounds</input> </TD> </TR> <TR> <TD colspan="2">Describe your athletic ability:<BR> <textarea name="athletic" cols="50" rows="4"></textarea> </TD> </TR> <TR> <TD>Pick a Password</TD> <TD> <input type="password" name="password" value="1">Password</input><BR> </TD> </TR> <TR> <TD colspan="2" align="center"> <input type="submit" value="Submit" > </TD> </TR>
</TABLE> </FORM> </html> | |
|
| |
laprimamirala Detroit Tiger
Number of posts : 14194 Age : 63 Location : SE Michigan Favorite Current Tiger(s) : Magglio........:) Reputation : 11 Registration date : 2007-10-29
| Subject: Re: Learning HTML Wed Mar 05, 2008 6:09 pm | |
| I still say you are a closet coder! | |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 6:14 pm | |
| Newest code: - Code:
-
<HTML> <HEAD> <TITLE>This is an HTML Page. I used HTML to create it</TITLE> </HEAD>
<BODY> <p>This is some text</p>
<FORM method="post" enctype="text/plain" action="mailto: catbox_9@hotmail.com" > <TABLE border="1"> <TR bgcolor="#CCCCFF"> <TH>Name</TH> <TH>Value</TH> </TR> <TR> <TD>Name</TD> <TD> <input type="text" size="25"> </TD> </TR> <TR> <TD>Sex</TD> <TD> <input type="radio" name="sex" value="male"> Male <BR> <input type="radio" name="sex" value="female" checked> Female<BR> <input type="radio" name="sex" value="yes, please">Yes, Please </TD> </TR> <TR> <TD>Eye color</TD> <TD> <select name="eye color"> <option>blue</option> <option>brown</option> <option>red</option> <option selected>green</option> <option>other</option> </select> </TD> </TR> <TR> <TD>Check all that apply</TD> <TD> <input type="checkbox" name="height" value="1"> Over 6 feet tall</input> <BR> <input type="checkbox" name="weight" value="1"> Over 200 pounds</input> </TD> </TR> <TR> <TD colspan="2">Describe your athletic ability:<BR> <textarea name="athletic" cols="50" rows="4">
| |
|
| |
catbox_9 DTF1 ADMINISTRATOR Detroit Tiger
Number of posts : 22295 Age : 37 Location : Paso Robles, California Favorite Current Tiger(s) : Justin Verlander Reputation : 17 Registration date : 2007-10-05
| Subject: Re: Learning HTML Wed Mar 05, 2008 6:15 pm | |
| - laprimamirala wrote:
- I still say you are a closet coder!
I wish! | |
|
| |
gs78 Detroit Tiger
Number of posts : 27687 Age : 46 Location : Trashy Park Michigan Favorite Current Tiger(s) : Dontrelle Willis, Brandon Inge, Maggs, Verlander, Granderson, Pudge and Todd Jones Reputation : 9 Registration date : 2007-10-06
| Subject: Re: Learning HTML Fri Mar 07, 2008 5:55 pm | |
| | |
|
| |
laprimamirala Detroit Tiger
Number of posts : 14194 Age : 63 Location : SE Michigan Favorite Current Tiger(s) : Magglio........:) Reputation : 11 Registration date : 2007-10-29
| Subject: Re: Learning HTML Fri Mar 07, 2008 9:19 pm | |
| Catbox knows what he's doing there! | |
|
| |
Sponsored content
| Subject: Re: Learning HTML | |
| |
|
| |
| Learning HTML | |
|