I was reading that SE allows a number of HTML elements, so I'm wondering if they can also be styled using CSS?

I also noticed Ctrl+M, for entering HTML+CSS+JS snippets. So, it made me further curious about this.

  • 1
    Beyond some very basic and essential styling (e.g. The width and height of an image), no. Commented Feb 28, 2016 at 1:18
  • 2
    @angussidney: Isn't that HTML attributes, not CSS at all? Commented Feb 28, 2016 at 1:43
  • 3
    @NathanTuggy You're right. I just got mixed up with the html attributes and the CSS attributes for width and height. Commented Feb 28, 2016 at 2:04

1 Answer 1


Besides some basic HTML attributes (full list can be found here) no styling is allowed (so that rules out CSS).

The options you meaning using HTML / CSS / JS is probably what they call Stack Snippets: a method to put in code for that specific languages that make it runnable on the site without external service. That feature exists only in few sites in the SE network.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .