有人能否澄清HTML5和CSS中单引号和双引号之间的区别。
以下是Google在HTML中对单引号使用的矛盾之处:
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
还有CSS:
font-family: 'Roboto', sans-serif;
尽管Bootstrap的文档实践展示了在HTML中使用双引号:
<link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css">
还有CSS:
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
哪种做法是最好的,为什么?
编辑: Google 字体为什么要使用单引号,是否有有效原因?