• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

A few questions abour HTML

Neil McRae

New Member
1. How do you label images? I mean if you put your mouse over an image on an HTML page and for example the yellow comic balloon (or yellow square, whatever) pops up and says "Neil," how do you make it say "Neil?"
2. How do I take the underline out of a link on my HTML page? What's the HTML code? Also, how do I make one link on my HTML page a different text colour than the rest of the links on that page?
3. I created a form at the bottom of my HTML page for visitors of my site to contact me. I can't get the form to send to my E-mail address. If you want me to, I can E-mail the HTML page to you then you can look at the HTML source and tell me what is wrong or what I have to do to get the form to send to my E-mail address.

Thanks for your time, any answers would be appreciated.
 
I didn't actually answer, I just gave examples. Hope you can understand them.

How do you label images?
<img src=blah.gif title="Label Here">
How do I take the underline out of a link on my HTML page?
<a href=blah style="text-decoration:none;">blah</a>
how do I make one link on my HTML page a different text colour than the rest of the links on that page?
<a href=blah><font color=#000000>blah</font></a>
I created a form at the bottom of my HTML page for visitors of my site to contact me. I can't get the form to send to my E-mail address.
<form action=mailto:your@email.address> ...blah... </form>
 
most of those should work.. what browser are you using???

try this...
Code:
<img src="img.gif" alt="my images alt is boring and stupid, but it works.">
 
...alt="my images alt is boring and stupid, but it works.">
Actually, it doesn't in Netscape 6.x and shouldn't in IE 6.x. The proper attribute is "title", "alt" is the text that's supposed to appear when the image doesn't load.

For your third thing, about the form. If you don't want the form inputs emailed to you (as my example did), what do you want?
 
Re:

<img src="img.gif" alt="my images alt is boring and stupid, but it works.">

Now that worked. A few days ago, I upgraded to Netscape 4.76 .

Off the top of my head:

<a href="mailto:youraddress@blah.com">sdjksdlf</a>

www.webmonkey.com

will have all the information you need.

After all that, I still can't get my form to send to my E-mail address.
 
if you want the form to mail to your address you would need a form mailer... (http://cgi-resources.com)
or, you can do this, it isnt nearly as good, but it works... i guess

Code:
<form method="mailto:youremail@email.com">

i think thats it, i forget.. its something like that, if im wrong i know someone will correct me.
 
You upgraded to 4.76 a few days ago? Why not 6.1? It's been out for a while now.

As I said, "alt" is the text that is supposed to show up when an image doesn't load or while it's loading. It is not supposed to popup a description, that's what "title" does. If you want, you can include both so that your page works with both new and old browsers, but I would strongly advise you against just using "alt".

This is an email form (Sagethefreak, if you will take note, I already posted what you just said and he said he couldn't get it to work):

<form action="mailto:someguy@hotmail.com">
Enter stuff: <input type=text name=whatever>
<input type=submit value="Send">
</form>

The only thing that can possibly go wrong with that form is a) you typed your email address wrong, or b) when Netscape pops up that little dialog box that alerts you an email is being sent, you click "Cancel".

You can also use a Perl or PHP script to send email, but if you're having trouble with the form itself I'd be willing to bet a CGI script would just confuse you further.
 
Re:

You upgraded to 4.76 a few days ago? Why not 6.1? It's been out for a while now.

I once tried Netscape 6 before, but it screwed up my computer and I couldn't do as many things as I could in Netscape 4* . Currently the best versions of Netscape for me are 4.75, 4.76, and 4.77 .

As I said, "alt" is the text that is supposed to show up when an image doesn't load or while it's loading. It is not supposed to popup a description...

<img src="img.gif" alt="my images alt is boring and stupid, but it works.">

Well, it worked for me. I even tested it on a few more images and just doing that worked.

Now, about my form... I don't think I need CGI scripts or any of that fancy stuff. I can get the form to clear and everything else is working just fine (everything else is doing what I want it to do), but I just can't get the form to send to my E-mail address. I fill it out then I click the "send" button, but the form doesn't go to my E-mail address. My form is at the bottom of a regular HTML page. Do you want me to E-mail you this HTML page (and all its associated images) then you can look at the HTML source and tell me what I'm doing wrong (tell me why it isn't sending)?
 
Last edited:
Re: Re:

Well, it worked for me. I even tested it on a few more images and just doing that worked.
Because you're using a hideously old browser that makes no distinction between "alt" and "title" and, in fact, doesn't even recognize "title". As I said, "you can include both so that your page works with both new and old browsers, but I would strongly advise you against just using 'alt'".
Ive never seen a form that didnt require atleast Perl send through email
Really? There were all over the place in the early days of the Internet, when forms were a new thing and there was no unwritten "etiquette" that said email forms were unprofessional. It's rare to come across them nowadays, but they still work just fine.
 
You have only half the tag.

<form method="post" action="mailto:you@domain.com" enctype="text/plain">

Mailto still sucks. It won't work with some email clients. If you can't run scripts you can use a number of remotely hosted services. Bravenet's form mail is actually quite good.
 
Originally posted by Dusty
Actually, it doesn't in Netscape 6.x and shouldn't in IE 6.x. The proper attribute is "title", "alt" is the text that's supposed to appear when the image doesn't load.

For your third thing, about the form. If you don't want the form inputs emailed to you (as my example did), what do you want?
It doesn't work in Netscape 6.1?


for the third thing, i think he wanted it on a text file.
 
It doesn't work in Netscape 6.1?
Let's see: "it doesn't in Netscape 6.x and shouldn't in IE 6.x. The proper attribute is 'title', 'alt' is the text that's supposed to appear when the image doesn't load." I think I answered your question before you even asked it!
 
Re:

Originally posted by meow
<form method="post" action="mailto:you@domain.com" enctype="text/plain">

That still didn't work.

BTW about the image labelling, I plan to say at the bottom of my index page something like "this site is / these pages are best viewed in Netscape Communicator 4.76 ," but as I continue to work on the site I'll most likely eventually add as many browsers (or as many versions of different browsers) as I can so my images should work with almost any browser.
 
Then your email client doesn't support it. What doesn't work btw? Your email client doesn't open or the form data doesn't get included? The latter is very usual and is exactly why you should use CGI or a remotely hosted service.
 
Originally posted by meow
Then your email client doesn't support it. What doesn't work btw? Your email client doesn't open or the form data doesn't get included? The latter is very usual and is exactly why you should use CGI or a remotely hosted service.
Told it before.
 
Back
Top