CSS Links



Links are an major part of website.it's help to connect one page to another page.

Four types of links give below.

NOTE : see the tutorial HTML Linkshow to create them.

we can specify links any css property like color,font,background.

Example

<!DOCTYPE html>
	<html>
	<head>
	<title>Styling Different Link States using CSS</title>
	<style>
		/* unvisited link */            
		a:link {
			color: #ff0000;
			text-decoration: none;
			border-bottom: 1px solid;
		}
		/* visited link */
		a:visited {
			color: #ff00ff;
		}
		/* mouse over link */
		a:hover {
			color: #00ff00;
			border-bottom: none;
		}
		/* active link */
		a:active {
			color: #00ffff;
		}
	</style>
	</head>
	<body>
		<p><a href="https://www.elementtutorials.com/" target="_top">Visit Element tutorials </a></p>
	</body>
	</html>                            
	


Click on the "Run This Code" button to see how it works.




CSS

Welcome CSS Syntax CSS Selectors CSS ADD css CSS Borders CSS Backgrounds CSS Colors CSS Padding CSS Margin CSS Fonts CSS Text CSS Outline CSS Box-Model CSS Height&Width CSS Icons CSS Links CSS Lists CSS Display CSS Tables CSS Position CSS Overflow CSS Align CSS Float CSS Inline-block CSS Opacity CSS Image-Gallery CSS Navigation Bar CSS Dropdowns CSS Cursors CSS Forms CSS Pseudo-classes CSS Pseudo-elements

CSS3 FEATURES

CSS Gradients CSS shadows CSS 2D Transforms CSS 3D Transforms CSS Animations CSS Media Queries CSS Flexbox CSS important CSS Units