<分区>
谁能阐明 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 字体决定使用单引号有什么正当理由吗?