40 likes | 215 Views
Learning Report Styling Links. Mark Purcell. Purpose. Links are something that will be all over your website. They are the basis of everything you see online . The default browser setting makes all unvisited links blue, visited links purple, and active links red .
E N D
Learning Report Styling Links Mark Purcell
Purpose • Links are something that will be all over your website. They are the basis of everything you see online. • The default browser setting makes all unvisited links blue, visited links purple, and active links red. • These settings can be changed using code in your CSS page.
Implementation • In your CSS sheet use the a selector to style links. • You can change each status of the link by using the a:link, a:visited, a:hover, and a:active selectors. • You must order these links in the order listed above. • You can change each selector with various properties.
Example a {fontweight: bold;}a:link{color: black;}a:visited {color:gray;}a:hover {text-decoration: none;color: white;backround-color: navy;}a:active {color: aqua;backround-color: navy;}