A system for providing a user interface includes a first element tag and a
second element tag. The first element tag specifies a first element that
is associated with a class of connectable elements and includes a first
order indicator that specifies an order of the first element. The second
element tag specifies a second element that is associated with the class
of connectable elements such that the first element and the second
element can be connected. The second element tag includes a second order
indicator that specifies an order of the second element. The order of the
first element and the second element are related such that, when the
first element and the second element are connected, the first element
remains connected to the second element when the second element is moved,
and the first element is separated from the second element when the first
element is moved.