How to add hover and vistied features in html.A components?

i want to change the color of the text in html.A when mouse hover on it .
and when a link is visited , it turns blue.
how ???
This make me headache.
can someone help me ?

‘’’
html.A(
href=’/xygj_ug’,
children=‘USA’,
style={
‘color’: ‘#FF2600’,
‘font-size’: 30,
‘textAlign’: ‘center’,
‘marginTop’: 250,
‘hover’: {‘color’: ‘red’},
‘visited’: {‘color’: ‘green’}
}
)
‘’’

1 Like