Questions tagged «apostrophe»

15
对HTML属性使用单引号是否正确?
最近,我看到了很多这样的东西: <a href='http://widget-site-example.com/example.html'> <img src='http://widget-site-example.com/ross.jpg' alt='Ross's Widget' /> </a> 在HTML中使用单引号是否有效?正如我在上面强调的那样,这也是有问题的,因为您必须转义撇号。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.