Jump to content

Image button link 3 and 4?


eduard
 Share

Recommended Posts

I have 4 links now on the homepage of my website (www.eduardlid.com)! The button of link 3 (english) I want to have the english flag and the button of link 4 (espanol) (Can I get ñ?) I want to have the spanish flag! How do I do this?

Link to comment
Share on other sites

Get an image of the english flag and an image of the spanish flag and put it in the respective links.
Great reply for someone who is doing html for 8 months (and this he learned a long time ago!)
Link to comment
Share on other sites

On the page about links that Ingolme links you to above, be sure to look at this page that shows images being used in links, and one that has no border.
Ok, thanks!
Link to comment
Share on other sites

On the page about links that Ingolme links you to above, be sure to look at this page that shows images being used in links, and one that has no border.er topicThat was the first post of my other topic (Difference?). I still don´t know the answer.But my question wasn´t clear! Now I have 4 the same buttons (all in 1 div) To make button 3 and 4 different! I have to put them in another div?
Edited by eduardchile
Link to comment
Share on other sites

Great reply for someone who is doing html for 8 months (and this he learned a long time ago!)
surely by now you know what an < img > tag is right? You have been reading the tutorials, right?
Link to comment
Share on other sites

I don´t understand that if I want to make a link of an image! In the <, /> I have to write the url of the image, but I also have to write the url of the document I want to open?Or do I have to download the image?

Edited by eduardchile
Link to comment
Share on other sites

You use the <a> element for the link, and an <img> element for the image. The href attribute of the <a> element links to the document you want to open. The src attribute of the <img> element has the URL of the location of the image.

Link to comment
Share on other sites

You use the <a> element for the link, and an <img> element for the image. The href attribute of the <a> element links to the document you want to open. The src attribute of the <img> element has the URL of the location of the image.
Ok, thanks very much!
Link to comment
Share on other sites

So, if I want an image as link (spanish flag) and I have this link:<a href="versions/espanol/base_de_datos.html"><b><h4>Espanol</h4></b></a>I have to write:<a href="versions/espanol/base_de_datos.html">image.gif</a><image=url>?

Link to comment
Share on other sites

Close:<a href="versions/espanol/base_de_datos.html"><img src="image.gif"></a>
Thanks! But where do I have to write the url of the image?
Link to comment
Share on other sites

Thanks! But where do I have to write the url of the image?
it's in his example. the src.honestly, just read the tutorials a couple times before asking such simple questions.http://www.w3schools.com/html/html_images.asp
Link to comment
Share on other sites

Eduard, are you asking about absolute URLs like "http://www.somplace.com/somefolder/image.gif" ? The answer is the same.<a href="versions/espanol/base_de_datos.html"><img src="http://www.somplace.com/somefolder/image.gif"></a>
Ok, thanks very much!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...