Can somebody explain how does it matter to pass different parameters in a url,
e-g
1: www.domain.com/folder1/folder2/file.html?param=9?val=ty5?test
2: www.domain.com/folder1/folder2/file.html#param=93#val=t5y5?test=9
3: www.domain.com/folder1/folder2/file.html¶m=9?val=ty5&test=90#poiu
Basically I want to know what do these three characters (#, &, ?) do in the url. I have seen them most of the times? can I use some thing other than that
e-g: www.domain.com/folder1/folder2/file.html*param=9_val+ty5@test
?indicates the start of the query string&separates key value pairs of the querystring#indicates an anchor. Here‘s more on anchor links.Note that all three of your urls are incorrect.
Valid url:
I notice you’ve edited your question with an additional question
You can use whatever you like in the part of the querystring or anchor as long as it is url encoded.