Question:
is there no way to set hyperlinks on a website in HTML to all be blue all the time?
63godtoh
2007-11-07 20:47:20 UTC
i've looked online and all though yahoo answers for about the last two hours and i have yet to find one helpful site that actually explains to someone who doesnt master in writting HTML code how to make all their hyperlinks on their website appear 'blue' all the time, even after they've been clicked on

here is my website....

http://bradywurtz.googlepages.com/home

on the left side of the page, i want every one of those links to appear in the color of 'blue' all the time

even after someone has clicked on it and has returned to that page, i want the link to still be the color 'blue'

i am using googlepages.com to host the site (as you could tell from the URL of the site)

and if you help me out here, i need to know the code it HTML only!!!!

please, someone help me find a code to put in HTML to set all my hyperlinks to blue all the time
Three answers:
STFU Dude
2007-11-07 21:00:24 UTC
Put this in your CSS:



a:link, a:visited {

color: blue;

}



Additionally, you can use a:hover and a:active for when the link is being hovered over and currently clicked on, respectively.
troche
2017-01-06 11:44:45 UTC
a million: i won't see the excellent code, yet exchange the cost of the form characteristic (each and every little thing between the double costs to overflow: motor vehicle;top: XXXX;width: XXXX exchange XXXX on your top and width. 2: making use of the code i've got pronounced, that could desire to no longer take place. 3: YOUR hyperlink textual content fabric HERE639767f3e9eaad729b54037a7e2abf5 could desire to sparkling up your situation.
Cent
2007-11-07 21:02:00 UTC
Of course there is a way. and it's pretty easy. ^_^

To make all your links blue, you could use CSS within your HTML. Try adding the following code in between your head tag () right after the meta declarations:







That piece of HTML adds a style to all links in your page; and sets its color to blue. You can specify a different color if you like, just change the hexadecimal value.



You can also format the links so they have underlines. To do that you just add 1 more line:



text-decoration: underline;





That would be:









And will look like this in your HTML:















Untitled Document











........

........

........


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...