只需在页面中加入代码:

 

<iframe id=city_frame_cn src=http://weather.china.com.cn/city/57516_cn1.html  width=218 height=23 border=0 frameborder=0 framespacing=0 marginheight=0 marginwidth=0 scrolling=no></iframe>

 在页面显示天气预报的代码


<iframe id=city_frame_cn src=http://weather.china.com.cn/city/57516_cn2.html  width=243 height=23 border=0 frameborder=0 framespacing=0 marginheight=0 marginwidth=0 scrolling=no></iframe>

 

在页面显示天气预报的代码

 

 

<iframe id=image_frame_weather src=http://weather.china.com.cn/city/57516_pic.html height=31 width=205 scrolling=no marginheight=0 frameborder=0></iframe>

 在页面显示天气预报的代码

<iframe name=city_frame_zx src=http://weather.china.com.cn/city/57516_zx.html width=243 height=116 border=0 frameborder=0 framespacing=0 marginheight=0 marginwidth=0 scrolling=no></iframe>

在页面显示天气预报的代码

每一段Iframe代码都是不同的天气预报样式

在页面显示天气预报的代码

相关文章: