html如何使用if语句

html如何使用if语句

1、通常html代码中使用if语句是引用js代码来使用。比如:&ltscript&gtvar x=1给x赋值if (x==1){alert('x等于1')}&ltscript&gt2
html-css140