Implement basic HTML relativization