Using an anchor tag to navigate to a specific section within the same page works perfectly when the HTML file is on my local machine. However, when I attach the file in Gmail and open the attachment, it doesn't work. Why is this happening? How can I make it work on a Gmail attachment? By the way, is there a way to ensure that it works on a Gmail attachment?
P.S: Dealing with HTML compatibility issues is getting frustrating.