Html code help!!!!!!!!?

  • Thread starter Thread starter pjhaugs
  • Start date Start date
P

pjhaugs

Guest
I suggest going to w3schools.com it is a great website with a lot of info on it for all kinds of design it helped me learn a lot of what i know and there you will be able to find the answer to most if not all your questions
 
I am making a 10 page website for a project and I need help figuring out some code. I want to be able to click certain things on one page and link it to another page that i have created. i figured out how to do this by <A HREF="C:\Users\Chris\birth.html. but this underlines it and turns the text purple which i do not want. Is there another way to do this. Also when I mouse over the word i want it to highlight does anyone know the code for this either.
Thank you for any help.
 
First do not put an address as you have done. If "birth.html" is in the same folder as your "index.html" then that is all you need. You will then need no changes when you move it online.

Place this in the "head" section
<style type="text/css">
A:link {color:#000000; text-decoration:none;}
A:visited {color:#000000; text-decoration:none;}
A:active {color:#000000; text-decoration:none;}
A:hover {color:#FF8000; text-decoration:overline underline;}
</style>

This example, which I use, causes a link to turn red and have an overline and underline only when hovering over it. You can look for CSS instructions on the internet for more options.

₪ ɦəlʞɹɐq ₪
 
Back
Top