AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL

CSS link color - CSS link href HTML - Link without underline

A link has four different value as: link, visited, active and hover. These four states of a link or hyperlink can be styled differently through CSS properties.

For any link on your page, you can specify any CSS property as: color, font-family, font-size, background, etc.

CSS link color setting

The default link colors in Gecko based web browsers like Firefox, Chrome, Opera are — blue for unvisited, purple for visited and red for the active link.
Using CSS tricks, you can change the link color how you like.
Example 1:
a:link
{ /* unvisited link */
color: #006291;
}
a:visited
{ /* visited link */
color: #063;
}
a:hover
{ /* mouse over link */
color: #F00;
}
a:active
{ /* active link */
color: #606060;
}

CSS - link href style in HTML

You can change the look of an entire website by changing just one file using an external style sheet as:
h r e f="http://www.agernic.com/style.css"
Example2:
<head>
<link rel="stylesheet" type="text/css"
 href="http://www.agernic.com/style.css">
</head>
Or, you can use style in line < href > link Example 3.
Example3:
<a style="color:red; font-size:18px; font-family:Arial, Helvetica, sans-serif"
href="http://www.agernic.com/css-tutorial.html"
target="_blank">Visit our CSS tutorial</a>
The result: Visit our CSS tutorial

CSS Link without underline - Removing Underline from Links

The text-decoration CSS is used to remove the default underlines from links in webpage. The following example show how to remove underlines or set the text-decoration property for the link useing text-decoration: none. The example 4, below, will display link without underline.
Example4:
a:link
{ /* unvisited link */
color: #006291;
text-decoration: none;
}
a:visited
{ /* visited link */
color: #063;
text-decoration: none;
}
a:hover
{ /* mouse over link */
color: #F00;
text-decoration: underline;
}
a:active
{ /* active link */
color: #606060;
text-decoration: underline;
}
Value for CSS text-decoration: none, underline, overline, blink, etc.


CSS link color, CSS link href HTML, Link without underline
CSS link color - CSS link href HTML - Link without underline - css tutorial

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


CSS Scrollbar Horizontal
CSS Scrollbar in Div
CSS Scrollbar Firefox
CSS Style Scrollbar
CSS Style Text
CSS background color
CSS Div Id Class
CSS Text Wrap
CSS text-align
CSS Text Decoration
CSS Text Shadow
CSS Text Color
CSS Text Bold
CSS Text Size
CSS background image full
CSS background opacity
CSS border radius
CSS rounded corners
CSS font color
CSS Class & ID
CSS align image center
CSS align content
CSS link color
CSS Text Style
CSS Text Font Size
CSS max width &height
CSS width and height
CSS Margin
CSS Padding
CSS Border Style
CSS background
CSS in HTML
Basic Syntax of CSS
CSS Introduction
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


Upload Image, display, edit and delete i...
Login Form with Image background...
How to Create an Image with Transparent ...
Portfolio Gallery Website with filtering...
Simple pagination script PHP MySQLi...
Center Image in div...
Image Hover Overlay Fade...
Sticky image / element / div on scroll...
Responsive images...
Create rounded image in HTML CSS...
Add border around image...
Position Text Over an Image HTML CSS res...
Create a Slideshow Images Gallery...
Create a Sticky Sidebar...
Search bar using CSS HTML...
Shrink Navigation Menu on Scroll...
How to Create Accordion HTML Templates...
Dropdown menu in the navigation bar...
Responsive Top Navigation Bar with mobil...
Split horizontal navigation bar...