Yes, you’re right, It’s a regular IF statement that you can add any condition you want.
Regarding to the styling, you can add style to the HTML tag:
$w("#Text").html = '<a style="color:red;font-size:20px" href="http://wix.com" >Stunning web sites</a>';
So, if you want the style to be the same, just change the Link.
Welcome.
Mustafa