HTML学习笔记day1
编辑使用notepad++,vim等,查看用chorme,ie等
每个网页开头:<!DOCTYPE html>
整个网页:<html>,</html>
头部:<head>,</head>
标题部分:<title>,</title>
文本信息:<p>,</p>(省略空格,tab)
文本信息,不忽略空格,tab:<pre>,</pre>
<hgroup>,</hgroup>忽略除了第一个以外的标题
<h1>,<h2>,<h3>,<h4>,<h5>,<h6>调整字体的大小
<b>,</b>:黑体,<i>,</i>:斜体,<sup>,</sup>:上标
<br>:换行
固定宽度:<kdb>,<code>,<samp>
段落缩进:<blockquote>
509_day1.html
<!DOCTYPE html> <html> <head> <title>Welcome to the Room 509 </title> </head> <body> <h1>The Room 509 </h1> <p><b><i>Welcome to the Room 509!</i></b><br> 您想要王总免费送出的海景房吗,你想要罗学长帮您指定学妹吗,还是说您需要从钱董那里获得各类网游的土豪装,那么就关注www.509.com</p> <pre>诗歌一首:<br> 离歌<br> 谁言别后终无悔,<br> 寒月清潇绮梦回。<br> 身知生在情常在,<br> 前尘不共彩云飞。</pre> <p><kdb>hello world<sup>!</sup></kdb></p> <p><code>hello world!</code></p> <p><smap>hello world!</smap></p> </body> </html>