HTML IF Statement

后端 未结 7 1569
走了就别回头了
走了就别回头了 2021-01-12 06:55

I just wanna know how to do an if-statement in simple HTML. Like the [if IE6] thingy

I\'d like to do something like this

[I         


        
7条回答
  •  北海茫月
    2021-01-12 07:33

    No, it's not possible. What you have seen is conditional comments in IE, which only checks version numbers of IE, and is typically used to inject IE specific style sheets to fix CSS bugs for that particular browser.

提交回复
热议问题