Anchor tag and text box

How we pass from Input text box value to next page using the anchor tag

If you use
<form ..... method="GET">
does that do what you’re after?

I recall trying to use anchor tags, e.g. #value123 to retrieve a value on receiving page without much luck a number of years ago. The are better ways to pass information. What are you trying to do? GET is always an option or SESSION for more control and security.