Matt Ahern
posted this on December 12, 2011 12:35
The HTML code for setting hyperlinks shown here has the minimal requirements for setting a link, that is, where the link takes you or the HREF, or hyperlink reference.
<A HREF="http://www.where_the_link_takes_you.com/">My stuff that is linked</A>
Will appear as,
You can make links appear a certain color, with or without the underline, make it bold all through styles.
Adding the STYLE attribute provides a means to style the link text.
<A HREF="http://www.where_the_link_takes_you.com/" STYLE="color: green;">My stuff that is linked</A>
Will appears as,
If I don't want an underline to appear on my links, I can set the text-decoration style attribute,
<A HREF="http://www.where_the_link_takes_you.com/" STYLE="color: green; text-decoration: none;">My stuff that is linked</A>
Will appears as (hover mouse to see underline on link above and no underline on the link below),