Extract html block with a given id