If you knew all ip addresses owned by each ISP, you could try to do something in your firewall, or in your code, but I don’t think you do.
I have some IP numbers, what would the HTML code be ?
This can’t be done with HTML alone. Your web page would need to have some sort of dynamic script just as ASP, JSP, etc. in order to do this.
What is the end result that you are trying to get? I don’t see a reason that you’d want to prevent some users from seeing your website.