HTML中的if判断用法,请教html中if的用法,英语If用法

1.(表示条件)如果 ,主句用将来时,if从句用现在时表示将来

He will come if you invite him.

如果你请他,他会来的.

2.(表示虚拟)假如,要是

1)时态:可以表示过去,现在和将来的情况.它的基本特点是时态退后.

a.同现在事实相反的假设.

句型 :条件从句 主句

一般过去时 should( would) +动词原形

If they were here,they would help you.

b.表示于过去事实相反的假设.

句型:条件从句 主句

过去完成时 should(would) have+ 过去分词

If she had worked harder,she would have succeeded.

The rice would not have been burnt if you had been more careful.

If my lawyer had been here last Saturday,he would have prevented me from going.

If he had come yesterday,I should / would have told him about it.

含义:He did not come yesterday,so I did not tell him about it.

If he had not been ill and missed many classes,he would have made greater progress.

含义:He was ill and missed many lessons,so he did not make greater progress.

c.表示对将来的假想

句型:条件从句 主句

一般过去时 should+ 动词原形

were+ 不定式 would + 动词原形

should+ 动词原形

If you succeeded,everything would be all right.

If you should succeed,everything would be all right.

If you were to succeed,everything would be all right.

3.是否 = whether 连接宾语从句

I wonder if she is ill.

不知她是否病了.

参与评论 您还未登录,请先 登录 后发表或查看评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:1024 设计师:我叫白小胖 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值