An A would be better. With a H the middle beam could buckle and fold in two, dragging the rest of the H with it. With an A however, it the bottom is fixed to something, and is strong enough the middle beam can't buckle and fold in two as the slanting sides won't let it.