HTML Attributes of the Tag
Apart from the standard HTML attributes (
id, etc.), the tag also supports the following component-specific attributes:
city– The city, which weather will be displayed, for example:
country="London". Required attribute.
countrycode– 2-letter country code, for example:
countrycode="uk". Required attribute.
width– Width of the component in pixels. Optional. Default width:
height– Height of the component in pixels. Optional. Default width:
bgcolor– Optional background color of the component. Default color:
Have a great day, and don’t forget to check the demo on this page.