HTML IF 语句
我只想知道如何在简单的 HTML 中执行 if 语句.像 [if IE6] 东西
I just wanna know how to do an if-statement in simple HTML. Like the [if IE6] thingy
我想做这样的事情
[IF 5>6]
语法如何?除了 [If!IE6] 之类的东西,我似乎找不到任何东西,这可能吗?
How's the syntax? I can't seem to find anything but [If!IE6] and things like that, is that even possible?
非常感谢
我只想比较标量数字,因为我有一个动态创建的 HTML.例如 [如果 4 == 6].我不想检查 IE 版本.
I want to compare just scalar numbers, cause I have a dynamically created HTML. For example [If 4 == 6]. I DON'T WANT TO CHECK IE VERSIONS.
推荐答案
不在 HTML 中.考虑改用 JavaScript.
Not in HTML. Consider using JavaScript instead.
相关文章