开发者

does html understand condition statements

开发者 https://www.devze.com 2023-01-29 22:42 出处:网络
Does html contian condition 开发者_运维百科statements like:::: 1.if else 2.while 3.forNo, HTML is a declarative markup language, not an imperative programming language.Just a few VERY basic ones - esp

Does html contian condition 开发者_运维百科statements like:::: 1.if else 2.while 3.for


No, HTML is a declarative markup language, not an imperative programming language.


Just a few VERY basic ones - especially for checking the browser:
http://en.wikipedia.org/wiki/Conditional_comment


I think you might need to look at JavaScript in order to do that. HTML is not a programming language. If it does, I wouldn't recommend neither.

0

精彩评论

暂无评论...
验证码 换一张
取 消