Traditional Culture Encyclopedia - Weather inquiry - How to put the weather plan on the web page and update it from time to time?

How to put the weather plan on the web page and update it from time to time?

Add the weather forecast code to the web page.

For example:

QQ weather code

Code:

& lt center & gt& ltp>& ltb> weather forecast

& lt Center & gt< IFrame width =157 height = 240 frameborder = 0 scrolling = no src =' cn.js ">

www.t7online.com

The weather in China on March 29th.

Beijing 18 C Shanghai 16 C Tianjin 18 C Chongqing 18 C Guangzhou 24 C Hong Kong 25 C global city weather query:

Subscribe to 14 weather forecast.

www.t7online.com

The weather in China on July 6th.

Beijing 36℃ Shanghai 30℃ Tianjin 34℃ Chongqing 34℃ Guangzhou 36℃ Hong Kong 34℃ Global city weather query:

Subscribe to commercial weather forecast code:

src = " cn.js " & gt

& lt/script & gt;

Description:

Weather codes of other provinces (regions) in China only need to replace cncn in the above codes with the following strings:

Guangdong: gudp Fujian: fujp Zhejiang: zhjp Jiangsu: jsup Anhui: anhp Shandong: shdp

Hainan: hanp Guangxi: ancient summer Guizhou: ancient zp Yunnan: yunp Sichuan: sicp Shaanxi: saxp

Henan: Hebei: Hebei Shanxi: Inner Mongolia: Inner Mongolia: Liaoning: Jilin: Jilin

Heilongjiang: Hubei: Hubei Hunan: Hunan Jiangxi: Jilin Gansu: Ningxia: Ningxia.

Qinghai: qihp Tibet: Xizha Xinjiang: Xizha weather codes of other countries only need to replace cncn in the above codes with the following strings:: Germany: dldl USA: naus Canada: naka Asia: asie Europe: Euro Japan: japn Korea: skor North Korea: nkor.

or

& LTPAlign = center & gt< strong & gt< font face = italics _ gb2312color = # ff0000size = 5 > weather forecast.

& ltP align = right & gt& ltiframe style = " WIDTH:223 px; HEIGHT:90px " border = 0 align = center margin width = 0 margin HEIGHT = 0 src = "/weather _ part . htm " frame border = 0 width = 135 scrolling = no HEIGHT = 90 allow transparency & gt;

& lt/iframe & gt; & lt/P & gt;

& ltP align = center & gt& ltSELECT style = " FONT-SIZE: 12px; Width: 83px height: 25px "align = absmiddle name = select w > & ltOPTION value = selected > region > select Beijing and Shanghai & lt option value = Tianjin > Harbin, Shijiazhuang, Tianjin. & lt option value = Shenyang > Shenyang. & lt option value = Changchun > Changchun. & lt option value = Taiyuan > Taiyuan. & lt option value = Jinan > Jinan Zhengzhou; & lt option value = Hohhot > Hohhot & lt option value = Xi 'an > Xi 'an< option value = Yinchuan > Yinchuan; & lt option value = Lanzhou > Lanzhou. & lt option value = Xining > Xining Urumqi. & lt option value = Hefei > Hefei Nanchang Nanjing Hangzhou Wuhan Changsha Guangzhou Shenzhen Fuzhou Xiamen; & lt option value = Nanning > Nanning Guilin. & lt option value = Haikou > Haikou Chongqing Chengdu Guiyang Kunming. & lt option value = Lhasa > Lhasa. & lt option value = Hong Kong > Hong Kong Macau Taipei