Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in Web Technology by (47.6k 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 (106k 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.6k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...