HTML CSS examples for CSS Layout:Text
Use CSS Selector to Change Color of Text Highlight
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ::selection {<!-- www .j a v a2 s . c om--> background-color:Chartreuse; color:yellow; } </style> </head> <body> some text </body> </html>