How do you add a style to a head tag?

16 Answers. Try adding the style element to the head rather than the body .

IT IS INTERESTING:  Best answer: How do I create a tab in CSS?
HTML5 Robot