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.

不知她是否病了.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值