|
 |
|
Tutorialized Forums
> Web Design & Development
> HTML
|
HTML Link Question.
Discuss HTML Link Question. in the HTML forum on Tutorialized. HTML Link Question. HTML forum covering the Hypertext Markup Language. At its core, HTML merely describes the structure of a web document, using tags to indicate sections such as headings, paragraphs, lists, etc. which browsers use to display pages.
|
|
 |
|
|
|
|

Tutorialized Forums Sponsor:
|
|
|

December 4th, 2009, 09:54 AM
|
|
Registered User
|
|
Join Date: Dec 2009
Posts: 1
Time spent in forums: 3 m 59 sec
Reputation Power: 0
|
|
|
HTML Link Question.
Hello,
I just created my first Website for work.
Not really an web designer.
I did notice that with all of my Links, when you click on them they turn purple, which is fine. I believe like a lot of sites though, they are caching. Whenever I navagate to any site now, or close and reopen my browser they are still purple.
I was wondering what code do I need to add to refresh the links in between pages. Is their a refresh tag or do I use a no cache tag.... I appreciate the advice.
Thank You.
|

December 9th, 2009, 02:54 PM
|
 |
Board Geriatric
|
|
Join Date: Sep 2006
Location: Germany
Posts: 888
Time spent in forums: 4 Days 16 h 40 m 26 sec
Reputation Power: 0
|
|
Yes, it's caching which causes the link to stay purple, after you've exited your browser. To fix this, in IE you'll need to empty your cache (Tools > Internet Options > Delete... under Browsing History section > Delete... under Temporary Internet Files section) and then add in this code to the head of your HTML document, below the title tags;
Code:
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="Cache-Control" content="no-store">
Explanation of code:
There are three Meta tags here, because we're allowing for deviations between rendering engines in different browsers.
However, this is not recommended if you simply want to change the link color, because not only can this easily be achieved in CSS (see below), but caching a webpage is good for saving bandwidth.
You'll need to add this pseudo-class into your CSS properties;
Code:
a:visited {
color:#FFF;
}
Change the #FFF (which is white) to the color you'd like your link to be once you've clicked it.
|

March 25th, 2010, 03:25 PM
|
|
Registered User
|
|
Join Date: Mar 2010
Posts: 1
Time spent in forums: 14 m 45 sec
Reputation Power: 0
|
|
|
heyy thanks for the information...i really appreciate it...
***********
Jack Brosnan
|

April 16th, 2010, 09:44 PM
|
 |
~Moderator~
|
|
Join Date: Feb 2006
Location: Ohio
Posts: 640
Time spent in forums: 2 Days 23 h 40 m 55 sec
Reputation Power: 0
|
|
|
help
you can also put a body tag in it to keep you links the color you want at all times even when there clicked.
<body link="blue" vlink="purple" alink="green">
i do believe thats the code lol its been awhile haha
__________________
Never judge a book by its cover.
|

November 2nd, 2012, 01:54 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 24
Time spent in forums: 4 h 2 m 44 sec
Reputation Power: 0
|
|
|
For example you are working with UL LI
The code will be
ul li span{a:visited:#fff}
|

November 5th, 2012, 01:27 PM
|
 |
~Moderator~
|
|
Join Date: Feb 2006
Location: Ohio
Posts: 640
Time spent in forums: 2 Days 23 h 40 m 55 sec
Reputation Power: 0
|
|
|
Thanks for your reply, but this topic hasnt been seen, not is the user probably still active since the posting was made (2010). Thanks for your input though and helping out =]
|

March 8th, 2013, 09:15 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 3
Time spent in forums: 23 m 18 sec
Reputation Power: 0
|
|
|
The mission of the XHTML2 Working Group is to fulfill the promise of XML for applying XHTML to a wide variety of platforms with proper attention paid to internationalization, accessibility, device-independence, usability and document structuring. The group will provide an essential piece for supporting rich Web content that combines XHTML with other W3C work on areas such as math, scalable vector graphics, synchronized multimedia, and forms, in cooperation with other Working Groups.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|