How to use custom html block

Server logic is required for that case so check the post.