Friday, July 01, 2011

Highlight the link(href Tag/HTML link Tag) on click:

Highlight the link(href Tag/HTML link Tag) on click:

With the help of style sheet(CSS), we can highlight the link after click.

Write below mentioned styles in STYLE tag before HEAD Tag of page:



a:link {font-size: 11px;color:green;text-decoration: none} /* unvisited link */
a:visited {font-size: 11px;orange:orange;text-decoration: none} /* visited link */
a:hover {font-size: 11px;text-decoration: underline;color:#FF00FF;} /* mouse over link */
a:active {font-size: 11px;color:orange;text-decoration: none} /* selected link */



Write below mentioned HTML in BODY Tag of page:



Amit Kumar1


Amit Kumar2


Amit Kumar3




Share:

0 comments:

Sitecore® Technology MVP 2019

Featured Post

Sitecore Error Troubleshooting: Sitecore Solr Connectivity Issue:: Part-1

Sitecore Error Troubleshooting: Sitecore Solr Connectivity Issue:: Part-1 How to verify Sitecore 9.1 (IaaS and Azure PaaS) + Solr (IaaS) C...

Total Pageviews

State Counder

Popular

About Me

My photo
Based in Bangalore, INDIA, Amit is a Sitecore MVP and MCC. He has an MCA from the U.P.T.U., INDIA and holds certifications including Sitecore and SharePoint 2007/2010. He is an contributor to Sitecore/MSDN communities and http://amitkumarmca04.blogspot.com/. Amit have experience in Sitecore, ASP.Net with C#, MVC, SharePoint, Classic ASP, VB,Macros,HTML,JavaScript,JSON,BootStrap and AngularJS.

Followers

Follow me on Twitter

Labels