Simulate anchors on non-anchor elements.