Ah, I was looking for this but couldn't find it anywhere: Conditional HTML comments, foregoing the need for JS browser checks. Example:
<!--[if IE]> Shown in IE, hidden in other browsers. <![endif]--> <![if ! IE]> Hidden in IE, shown in other browsers. <![endif]>