If you google “Double quotes or single quotes inside html tag, which is better”, you might hear someone is talking about using double quotes in html won’t pass XHMTL validation. I think it is nonsense. Both of these characters are valid for XHTML, i.e. both and are valid. However, I have a good reason to… Continue reading Double quotes or single quotes inside html tag, which one is the better?
Tag: html
芳草苑升级了
芳草苑很久没升级了,今天重新跟上 WordPress 主节奏,更新到 version 3.0.3。 这次更新的主要原因是默认主题 twentyten 很有 html5 的味道;拖了这么久才更新是当初想把当时的 default theme 改为流式布局的任务一直没完成。如今改进 default theme 已无大意义,就彻底放弃此念头。 其实升级也很快,静下心来整一整也就三个小时,含本地测试一次。
I decide to follow html5 from now
关于 html5 的消息时有耳闻,今天看到的 contenteditable 属性让我兴奋不已,所以我决定开始关注 html5。 看看,有了 contenteditable = “true”,以后接受用户输入有了更灵活的方式。 本文就是 contenteditable。