+1 vote
1 view
in Web Technology by (47.8k points)
edited by

When both a query string and anchor tag (hashtag) are visible in a URL, what is the proper order for them to appear?

?var=val#anchor

or

#anchor?var=val

Is there any documentation on this?

1 Answer

0 votes
by (107k points)
edited by

The proper URL forming with Query String and Anchor Hashtag is to use ? before # you can see the below code:-

?var=var#hash

Are you interested in learning Angularjs from scratch! Have a look at this interesting video on Angularjs provided by Intellipaat:

So, whatever will be after # is client-side.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Aug 6, 2019 in Web Technology by Sammy (47.8k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...