就这一句代码,就可以给网页增加本地当前天气情况了,拷到jsp或hmtl文件里就可以用了
<iframe src="http://m.weather.com.cn/m/pn4/weather.htm?id=101010100T " width="160" height="20" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
效果如下图
就这一句代码,就可以给网页增加本地当前天气情况了,拷到jsp或hmtl文件里就可以用了
<iframe src="http://m.weather.com.cn/m/pn4/weather.htm?id=101010100T " width="160" height="20" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
效果如下图