Build elements by tag name.