开发者

does html understand condition statements

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜