<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Anchor links</title>
	<style>
		a[href="#test1"],
		a[href="#test2"],
		a[href="#test3"],
		a[href="#test4"],
		a[name="test1"],
		a[name="test2"],
		a[name="test3"],
		a[name="test4"],
		#test1,
		#test2,
		#test3,
		#test4 { color:#fff; background:green; }
	</style>
</head>
<body>
	<ul>
		<li><a href="#test1">Anchor to #test1</a></li>
		<li><a href="#test2">Anchor to #test2</a></li>
		<li><a href="#test3">Anchor to #test3</a></li>
		<