HTML5 cheats Reading Notes, html5 Reading Notes
1: Basic prototype
<Html>
<Head>
<Meta charset = "UTF-8">
<Title> </title>
</Head>
<Body>
<! -- Title Tag -->
& Lt; h1 & gt; 11111111111111111 & lt;/h1 & gt;
<H2> 11111111111111111 & Lt; h3 & gt; 11111111111111111 & lt;/h3 & gt;
<H4> 11111111111111111 <H5> 11111111111111111 <H6> 11111111111111111
& Lt; div & gt; 2222222222222222 & lt;/div & gt;
& Lt; div & gt; 222222222222222 & lt;/div & gt;
& Lt; div & gt; 1111111111111111111111 & lt;/div & gt;
& Lt; div & gt; 1111111111111111111111 & lt;/div & gt;
<! -- Paragraph tag -->
<P> eeeeeeeeeedffkjhefhjgerhjkjher </p>
<P> eeeeeeeeeedffkjhefhjgerhjkjher </p>
<P> eeeeeeeeeedffkjhefhjgerhjkjher </p>
<! -- Input box label -->
<Input> <br>
<Input placeholder = "Enter the user name"> <br>
<Input value = "Zhang San"> <br>
<Input type = "color"> <br>
<Input type = "checkbox"> <br>
<Input type = "date"> <br>
<Input type = "range"> <br>
<! -- Wrap label -->
<Br>
<! -- Hyperlink tag -->
<A href = "http://baidu.com" target = "_ blank"> Baidu, you do not know </a>
<! -- Image Tag
Resources in the relative path Project
Absolute path: http: // https: // ftp: // file ://
-->
<! -- List tag -->
<Ul>
<Li> 111111 </li>
<Li> 222222 </li>
<Li> 333333 </li>
<Li> 444444 </li>
</Ul>
<! -- Container tag -->
& Lt; div & gt; 1111111111111111111111 & lt;/div & gt;
</Body>
</Html>
2: Basic Elements
<Hgroup> subtitle Element
<Aside> Add notes