Set anchor color, background and text for button
Description
The following code shows how to set anchor color, background and text for button.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css">
<style type='text/css'>
.testbutton1 {<!--from w w w.j a v a 2s .com-->
color: #fff;
text-decoration: none;
font: 600 15px sans-serif;
background-color: rgb(0, 0, 0);
}
</style>
</head>
<body>
<p>
<a href="#test1" data-role="button" class="testbutton1">Test 1</a>
</p>
</body>
</html>