Please explain what you are trying to do a bit more: Do you have a webserver running on your arduino? Are you trying to capture the ip address of each client that visits? If so perhaps this thread might help..
In general the client IP address is contained in the tcp/ip packet headers and isn't part of the http headers, let alone the HTML code. See List of HTTP header fields - Wikipedia for the structure of a http request.