English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML Quick Reference List. You can bookmark it locally or print it out for easy memorization and daily use.
<!DOCTYPE html> <html> <head> <title>Document Title</title>/title> </head> <body> Visible Text... </body> </html>
<h1>Largest Heading</h1> <h2> . . . </h2> <h3> . . . </h3> <h4> . . . </h4> <h5> . . . </h5> <h6>Smallest Heading</h6> <p>This is a paragraph.</p>/p> <br> (New Line) <hr> (Horizontal Line) <!-- This is a comment -->
<b>Bold Text</b>/b> <code>Computer Code</code>/code> <em>Emphasized Text</em>/em> <i>Italic Text</i>/i> <kbd>Keyboard Input</kbd>/kbd> <pre>Formatted Text</pre>/pre> <small>Smaller Text</small>/small> <strong>Important Text</strong>/strong> <abbr> (Abbreviation)</abbr> <address> (Contact Information)</address> <bdo> (Text Direction)</bdo> <blockquote> (Quoted Text from Another Source)</blockquote> <cite> (Work Title)</cite> <del> (Deleted Text)</del> <ins> (Inserted Text)</ins> <sub> (Lower Index Text)</sub> <sup> (Upper Index Text)</sup>
Normal Link: <a href="http://www.example.com/">Link Text</a>/a> Image Link: <a href="http://www.example.com/><img src="URL" alt="Replacement Text"></a> Email Link: <a href="mailto:[email protected]">Send Email</a>-mail/a> Bookmark: <a id="tips">Tips Section</a>/a> <a href="#tips">Jump to Tips Section</a>/a>
<img src="URL" alt="replacement text" height="42" width="42">
<style type="text/css"> h1 {color:yellow;} div{background:#f9f9f9;} p {color:green;} </style> <h1>H1Web page title</h1> <div>Block-level elements in the document</div> <p>Inline elements in the document</p>
<ul> <li>Item</li> <li>Item</li> </ul>
<ol> <li>First item</li> <li>Second item</li> </ol>
<dl> <dt>Item 1</dt> <dd>Description item 1</dd> <dt>Item 2</dt> <dd>Description item 2</dd> </dl>
<table border="1"> <tr> <th>Table title</th> <th>Table title</th> </tr> <tr> <td>Table data</td> <td>Table data</td> </tr> </table>
<iframe src="demo_iframe.htm"></iframe>
<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>javascript basic tutorial</option> <option selected="selected">html basic tutorial</option> <option>css basic tutorial</option> </select> <textarea name="comment" rows="60" cols="20"></textarea> </form>
< Equivalent to < > Equivalent to > © Equivalent to ©