HTML IF Statement

后端 未结 7 1628
走了就别回头了
走了就别回头了 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:26

    If you want to check for browser versions:

    
    
    
    
    
    
    
    
    

    Other than that, you cannot use if statements in HTML, as it is a markup language and not a programming language. You need to do it either server side or with Javascript.

提交回复
热议问题