Home html What does the wording mean "#!" In HREF attribute links?

What does the wording mean “#!” In HREF attribute links?




Recently, in one code found a line:

& lt; a href = "#! / Main" class = & gt;

What kind of beast is such #! ? I myself could not come together, I ask for your help. Thank you.

Answer 1, Authority 100%

This is not an HTML tag, but just part of the path leading to site.com/main. Beast ‘#!’ This is a hashbang that uses the same Angular to replace HTML5 History API (this is on what google). The same # in the ulla is simply anchor on some site of the specified page, see for example here .

Update: Link to Translation of. Angular documentation, where you can see the paragraph “Hashbang and HTML5 mode”

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions