use pseudo-elements for tag hash