onclick javascript Подтвердите
<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>
Talented Thrush
<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>
<a href="#" onclick="javascript:return confirm('Are you sure you want to delete this comment?')"><i class="ri-delete-bin-7-line"></i></a>