It's called a focus ring. It denotes the currently active element for users who use keyboard navigation and users with vision impairments. Your browser probably has a default style set. If you don't like it, find the accessibility settings for your browser and turn them off.