HTML5 速查列表
生活随笔
收集整理的這篇文章主要介紹了
HTML5 速查列表
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
HTML 速查列表
HTML 速查列表. 你可以打印它,以備日常使用。
HTML 基本文檔
<!DOCTYPE html> <html> <head> <title>文檔標(biāo)題</title> </head> <body> 可見(jiàn)文本... </body> </html>基本標(biāo)簽(Basic Tags)
<h1>最大的標(biāo)題</h1> <h2> . . . </h2> <h3> . . . </h3> <h4> . . . </h4> <h5> . . . </h5> <h6>最小的標(biāo)題</h6><p>這是一個(gè)段落。</p> <br> (換行) <hr> (水平線) <!-- 這是注釋 -->文本格式化(Formatting)
<b>粗體文本</b> <code>計(jì)算機(jī)代碼</code> <em>強(qiáng)調(diào)文本</em> <i>斜體文本</i> <kbd>鍵盤(pán)輸入</kbd> <pre>預(yù)格式化文本</pre> <small>更小的文本</small> <strong>重要的文本</strong><abbr> (縮寫(xiě)) <address> (聯(lián)系信息) <bdo> (文字方向) <blockquote> (從另一個(gè)源引用的部分) <cite> (工作的名稱) <del> (刪除的文本) <ins> (插入的文本) <sub> (下標(biāo)文本) <sup> (上標(biāo)文本)鏈接(Links)
普通的鏈接:<a href="http://www.example.com/">鏈接文本</a> 圖像鏈接: <a href="http://www.example.com/"><img src="URL" alt="替換文本"></a> 郵件鏈接: <a href="mailto:webmaster@example.com">發(fā)送e-mail</a> 書(shū)簽: <a id="tips">提示部分</a> <a href="#tips">跳到提示部分</a>圖片(Images)
<img loading="lazy" src="URL" alt="替換文本" height="42" width="42">無(wú)序列表
<style type="text/css"> h1 {color:red;} p {color:blue;} </style> <div>文檔中的塊級(jí)元素</div> <span>文檔中的內(nèi)聯(lián)元素</span>有序列表
<ul><li>項(xiàng)目</li><li>項(xiàng)目</li> </ul>樣式/區(qū)塊(Styles/Sections)
<ol><li>第一項(xiàng)</li><li>第二項(xiàng)</li> </ol>定義列表
<dl><dt>項(xiàng)目 1</dt><dd>描述項(xiàng)目 1</dd><dt>項(xiàng)目 2</dt><dd>描述項(xiàng)目 2</dd> </dl>表格(Tables)
<table border="1"><tr><th>表格標(biāo)題</th><th>表格標(biāo)題</th></tr><tr><td>表格數(shù)據(jù)</td><td>表格數(shù)據(jù)</td></tr> </table>框架(Iframe)
<iframe src="demo_iframe.htm"></iframe>表單(Forms)
<form action="demo_form.php" method="post/get"> <input type="text" name="email" size="40" maxlength="50"> <input type="password"> <input type="checkbox" checked="checked"> <input type="radio" checked="checked"> <input type="submit" value="Send"> <input type="reset"> <input type="hidden"> <select> <option>蘋(píng)果</option> <option selected="selected">香蕉</option> <option>櫻桃</option> </select> <textarea name="comment" rows="60" cols="20"></textarea></form>實(shí)體(Entities)
< 等同于 < > 等同于 > © 等同于 ?總結(jié)
以上是生活随笔為你收集整理的HTML5 速查列表的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: HTML 标签简写及全称
- 下一篇: 什么是Promise?前端开发人员会使用