Is it correct to use single quotes for HTML attributes?

前端 未结 15 2716
没有蜡笔的小新
没有蜡笔的小新 2020-12-01 05:57

Recently I\'ve been seeing a lot of this:


    

        
15条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 06:39

    In ASP.NET, it's easier to use single quotes if you're using data-binding expressions in attributes:

    
    

提交回复
热议问题