Element.setAttribute

void setAttribute(const(char)[] name, const(char)[] value)

Set an attribute for this element