语法
- 用两个空格来代替制表符(tab) — 这是唯一能保证在所有环境下获得一致展现的方法。
- 嵌套元素应当缩进一次(即两个空格)。
- 对于属性的定义,确保全部使用双引号,绝不要使用单引号。
- 不要在自闭合(self-closing)元素的尾部添加斜线 — HTML5 规范中明确说明这是可选的。
- 不要省略可选的结束标签(closing tag)(例如,
</li>
或</body>
)。
<!DOCTYPE html> <html> <head> <title>Page title</title> </head> <body> <img src="images/logo.png" alt="logo"> <h1 class="title">Hello, world!</h1> </body> </html>
Yay google is my queen aided me to find this great site! .
What’s Happening i’m new to this, I stumbled upon this I’ve discovered It absolutely helpful and it has helped me out loads. I am hoping to give a contribution & assist different customers like its aided me. Good job.
I got good info from your blog
I have learn several just right stuff here. Definitely price bookmarking for revisiting. I surprise how so much effort you set to make any such excellent informative web site.
I have been exploring for a little for any high-quality articles or blog posts on this sort of area . Exploring in Yahoo I at last stumbled upon this web site. Reading this information So i am happy to convey that I have a very good uncanny feeling I discovered just what I needed. I most certainly will make certain to don’t forget this web site and give it a glance regularly.