1. A computer-implemented method for displaying a plurality of gadgets on a web page, comprising: determining priority levels for a plurality of gadgets according to one or more hierarchy policies for the web page; determining one or more style policies that specify a modification of the plurality of gadgets according to the priority levels; and outputting the plurality of gadgets according to the style policies and the priority level of each gadget relative to the plurality of gadgets.