In fact, this problem has already arisen when I first learned about the select tag in HTML. To this day, I still haven’t found a way to use pure CSS to disable the a tag. I have asked my colleagues, classmates, and teachers, and they all resorted to the same method. If you don’t have JavaScript, is it really necessary to use JavaScript?
1. Pure CSS to disable the a tag in HTML: