Answer the question
In order to leave comments, you need to log in
Is there a way to semantically output the IP address in HTML, or is there none?
Greetings
I needed to display the visitor's IP address in HTML only for use by his scripts, it should not be on the page. Are there any correct, semantic ways to display the IP address, maybe some special HTML tag like input[type="hidden"] or just wrap and hide it in any DIV tag?
PS
Or maybe there is some special Metatag in HEAD?
PPS
I wonder if a custom meta tag will do?<meta name="user-ip" content=XXX.XXX.XXX.XXX">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question