Is it correct to use single quotes for HTML attributes?

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

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


    

        
15条回答
  •  [愿得一人]
    2020-12-01 06:45

    In PHP, echo takes multiples parameters. So, if one would like to omit the concatenation operator, they could done something like and still use double quotes :

    echo '';
    

提交回复
热议问题