265天气根据IP自动获得当地的天气情况
<iframe src="http://weather.265.com/weather.htm" width="168" height="54" frameborder="no" border="0" marginwidth="0&quoat; marginheight="0" scrolling="no"></iframe>
<BR>
QQ天气预报代码(一)
<iframe width="145" height="130" border="0" align="center" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://minisite.qq.com/Weather/news_new.html" allowTransparency="true"></iframe>
<BR>
QQ天气预报代码(二)
代码 :<IFRAME ID='ifm2' WIDTH='189' HEIGHT='190' ALIGN='CENTER' MARGINWIDTH='0' MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO' SRC='http://weather.qq.com/inc/ss211.htm'></IFRAME>
<BR>
新浪天气预报代码
<IFRAME ID='ifm2' WIDTH='260' HEIGHT='70' ALIGN='CENTER' MARGINWIDTH='0' MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO' src="http://news.sina.com.cn/iframe/weather/420101.html"></IFRAME>
效果图:
![](https://i-blog.csdnimg.cn/blog_migrate/08a6644ea1412cf9a4b49dab288c5b2b.jpeg)
![](https://i-blog.csdnimg.cn/blog_migrate/45cd3756b963ce9efdaf792f8d434aee.jpeg)