Advertisement
codeuniv

HTML page-2 with ALL HTML ELEMENTS (html template, html page template, full html, all html elements)

Apr 9th, 2022
1,526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 11.44 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.  
  4. <head>
  5.  
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8.  
  9. <!-- Set the title of your site here -->
  10. <title>HTML Patterns</title>
  11.  
  12. <meta name="author" content="mrmrs">
  13. <meta name="description" content="Common HTML5 patterns I use.">
  14. <meta name="viewport" content="width=device-width, initial-scale=1">
  15.  
  16. <!-- Link to your stylesheet here -->
  17. <link rel="stylesheet" href="http://mrmrs.io:80/html/css/i.css">
  18.  
  19. <!-- Favicons and Touch Device Icons -->
  20. <link rel="shortcut icon" href="http://mrmrs.io:80/html/favicon.ico">
  21. <link rel="apple-touch-icon"
  22.     href="http://mrmrs.io:80/html/touch-icon-iphone-precomposed.png">
  23. <link rel="apple-touch-icon" sizes="72x72"
  24.     href="http://mrmrs.io:80/html/touch-icon-ipad-precomposed.png">
  25. <link rel="apple-touch-icon" sizes="114x114"
  26.     href="http://mrmrs.io:80/html/touch-icon-iphone-retina-precomposed.png">
  27. <link rel="apple-touch-icon" sizes="144x144"
  28.     href="http://mrmrs.io:80/html/touch-icon-ipad-retina-precomposed.png">
  29.  
  30. </head>
  31.  
  32. <body>
  33.  
  34.     <header>
  35.         <h1 class="mega-ns">HTML</h1>
  36.         <h2 class="sth"> HTML </h2>
  37.     </header>
  38.    
  39.    
  40.     <header>
  41.         <a href="" title="Site title"></a>
  42.         <nav>
  43.             <ul>
  44.                 <li><a href="#" title="Home">Home</a></li>
  45.                 <li><a href="#" title="About">About</a></li>
  46.                 <li><a href="#" title="Sign Up">Sign Up</a></li>
  47.                 <li><a href="#" title="Contact">Contact</a></li>
  48.                 <li><a href="#" title="Careers">Careers</a></li>
  49.             </ul>
  50.         </nav>
  51.     </header>
  52.    
  53.     <section>
  54.         <h1 class="other-class">Headings &amp; Copy</h1>
  55.         <h1 class="other-class">First Header h1</h1>
  56.         <p class="test-class">At vero eos et accusamus et iusto odio
  57.             dignissimos ducimus qui blanditiis praesentium voluptatum deleniti
  58.             atque corrupti quos.</p>
  59.         <h2>Second header h2</h2>
  60.         <p class="test-class">Lorem ipsum dolor sit amet, consectetur
  61.             adipisicing elit</p>
  62.         <h3>Third header h3</h3>
  63.         <p class="test-class">At vero eos et accusamus et iusto odio
  64.             dignissimos </h4>
  65.         <p class="test-class">Neque porro quisquam est, qui dolorem ipsum
  66.             quia dolor sit amet, pariatur?"</p>
  67.         <h5>Fifth header h5</h5>
  68.         <p class="test-class">Sed ut perspiciatis unde omnis iste natus
  69.             error sit voluptatem  voluptatem sequi nesciunt.
  70.         </p>
  71.         <h6>Sixth header h6</h6>
  72.         <p class="test-class">At vero eos et accusamus et iusto odio
  73.             dignissimos ducimus qui blanditiis </p>
  74.     </section>
  75.        
  76.     <hr />
  77.    
  78.     <section>
  79.         <h1 class="other-class">Links</h1>
  80.         <a href="#">Sample text link</a>
  81.         <a href="#">Sample button link</a>
  82.     </section>
  83.    
  84.     <hr />
  85.    
  86.     <section>
  87.         <h1 class="other-class">Lists</h1>
  88.         <h2>Unordered list</h2>
  89.         <ul>
  90.             <li>Orange</li>
  91.             <li>Apple</li>
  92.             <li>Rhubarb</li>
  93.             <li>Rasberry</li>
  94.             <li>Blueberry</li>
  95.             <li>Cherry</li>
  96.         </ul>
  97.         <h2>Ordered list</h2>
  98.         <ol>
  99.             <li>First</li>
  100.             <li>Second</li>
  101.             <li>Third</li>
  102.             <li>Fourth</li>
  103.             <li>Fifth</li>
  104.             <li>Sixth</li>
  105.         </ol>
  106.         <h2>Definition list</h2>
  107.         <dl>
  108.             <dt>Kick</dt>
  109.             <dd>808</dd>
  110.             <dt>Snare</dt>
  111.             <dd>909</dd>
  112.         </dl>
  113.         <dl>
  114.             <dt>Maine</dt>
  115.             <dd>Augusta</dd>
  116.             <dt>California</dt>
  117.             <dd>Sacremento</dd>
  118.             <dt>Oregon</dt>
  119.             <dd>Salem</dd>
  120.             <dt>New York</dt>
  121.             <dd>Albany</dd>
  122.         </dl>
  123.         <dl>
  124.             <dt>Ascender</dt>
  125.             <dd>The part of certain lowercase letters that extends above the
  126.                 x-height of a font.</dd>
  127.             <dt>Font</dt>
  128.             <dd>Traditionally, a complete set of characters for one typeface
  129.                 at one particular type size. Often used more loosely as a synonym
  130.                 for "typeface".</dd>
  131.             <dt>Golden Section</dt>
  132.             <dd>The ideal proportion according to the ancient Greeks. It is
  133.                 visualized as the medieval manuscripts.</dd>
  134.         </dl>
  135.     </section>
  136.    
  137.     <section>
  138.         <h1 class="other-class">Forms</h1>
  139.        
  140.        
  141.         <!-- FORM  -->
  142.                
  143.         <form>
  144.             <fieldset>
  145.                 <!--
  146.          Every fieldset must contain a legend.
  147.          IE barfs if it's not there.
  148.          It's no fun.
  149.          -->
  150.                 <legend>Legend Example</legend>
  151.                 <div>
  152.                     <label>Text Input Label</label> <input type="text" />
  153.                     <p class="test-class">Help text if necessary.</p>
  154.                 </div>
  155.                 <div>
  156.                     <label>Password</label> <input type="password" />
  157.                     <p class="test-class">Error messages when appropriate.</p>
  158.                 </div>
  159.                 <div>
  160.                     <label for="first-name">First Name</label> <input type="text"
  161.                         id="first-name" />
  162.                 </div>
  163.                 <div>
  164.                     <label for="last-name">Last Name</label> <input type="text"
  165.                         id="last-name" />
  166.                 </div>
  167.                 <div>
  168.                     <label for="email">Email</label> <input type="email" id="email" />
  169.                 </div>
  170.                 <div>
  171.                     <label for="gender">Dropdown</label> <select>
  172.                         <option>Option 1</option>
  173.                         <option>Option 2</option>
  174.                         <option>Option 3</option>
  175.                     </select>
  176.                 </div>
  177.                 <div>
  178.                     <label>Radio Buttons</label>
  179.                     <ul>
  180.                         <li><label><input type="radio" /> Label 1</label></li>
  181.                         <li><label><input type="radio" /> Label 2</label></li>
  182.                         <li><label><input type="radio" /> Label 3</label></li>
  183.                     </ul>
  184.                 </div>
  185.                 <div>
  186.                     <label for="url">URL Input</label> <input type="url"
  187.                         placeholder="http://mrmrs.cc" />
  188.                 </div>
  189.                 <div>
  190.                     <label>Text area</label>
  191.                     <textarea></textarea>
  192.                 </div>
  193.                 <div>
  194.                     <label><input type="checkbox" /> This is a checkbox.</label>
  195.                 </div>
  196.                 <div>
  197.                     <input type="submit" value="Submit" />
  198.                 </div>
  199.             </fieldset>
  200.         </form>
  201.        
  202.        
  203.                
  204.     </section>
  205.     <section>
  206.         <h1 class="other-class">Buttons</h1>
  207.         <button>A button</button>
  208.         <button>A button</button>
  209.         <button>A large button</button>
  210.     </section>
  211.    
  212.     <hr />
  213.    
  214.     <!-- Article -->
  215.     <section>
  216.         <h1 class="other-class">An Example Article</h1>
  217.         <article>
  218.             <h1 class="other-class">Title</h1>
  219.             <p class="test-class">
  220.                 Lorem ipsum dolor sit amet, <b>consectetur adipisicing elit</b>, sed
  221.                 do eiusmod             
  222.             </p>
  223.             <blockquote>
  224.                 <p class="test-class">This is a GREAT pull quote.</p>
  225.                 <a href="#">- Author</a>
  226.             </blockquote>
  227.             <p class="test-class">Neque porro quisquam est, qui dolorem ipsum
  228.                 quia dolor sit amet
  229.  
  230.             <p class="test-class">At vero eos et accusamus et iusto odio
  231.                 dignissimos ducimus qui expedita distinctio.</p>
  232.         </article>     
  233.     </section>
  234.    
  235.     <hr />
  236.    
  237.     <section>
  238.         <h1 class="other-class">Code examples</h1>
  239.         <code>
  240.             <pre>
  241.       sudo ipfw pipe 1 config bw 256KByte/s
  242.       sudo ipfw add 1 pipe 1 src-port 3000
  243.     </pre>
  244.         </code>
  245.     </section>
  246.    
  247.     <hr />
  248.     <section>
  249.         <h1 class="other-class">Footer</h1>
  250.         <footer>
  251.             <p class="test-class">
  252.                 Copyright 2013. Made with love by <a href="http://mrmrs.cc/"
  253.                     title="MRMRS - Designer">mrmrs</a>.
  254.             </p>
  255.             <ul>
  256.                 <li><a href="#">Home</a></li>
  257.                 <li><a href="#">Contact</a></li>
  258.                 <li><a href="#">Jobs</a></li>
  259.             </ul>
  260.             <ul>
  261.                 <li><a href="http://twitter.com/" title=" on Twitter">Twitter</a>
  262.                 </li>
  263.                 <li><a href="http://pinterest.com/" title=" on Pinterest">Pinterest</a>
  264.                 </li>
  265.                 <li><a href="http://instagram.com/" title=" on Instagram">Instagram</a>
  266.                 </li>
  267.                 <li><a href="http://dribbbble.com/" title=" on Dribbble">Dribbble</a>
  268.                 </li>
  269.                 <li><a href="http://github.com/" title=" on Github">Github</a>
  270.                 </li>
  271.             </ul>
  272.         </footer>
  273.     </section>
  274.    
  275.     <section>
  276.         <h1 class="other-class">New hawtness</h1>
  277.         <progress value="80" max="100">80 %</progress>
  278.         <p class="test-class">
  279.             We are this close to the goal:
  280.             <meter min="0" max="1000" value="824">$824</meter>
  281.             .
  282.         </p>
  283.     </section>
  284.    
  285.     <section>
  286.         <header>
  287.             <h1 class="other-class">Random Stuff</h1>
  288.         </header>
  289.         <small>This is for things like copyright info</small> <s>Content
  290.             that isn't accurate or relevant anymore.</s> <span>Generic span
  291.             wrapper</span> <abbr>HTML How to meet ladies</abbr>
  292.         <p class="test-class">
  293.             This is inline text with <sub>subscript</sub> and <sup>superscript</sup>
  294.             elements.
  295.         </p>
  296.        
  297.         <p class="test-class">
  298.             <var>f</var>
  299.             (
  300.             <var>x</var>
  301.             ) =
  302.             <var>a</var>
  303.             <sub>0</sub> +
  304.             <var>a</var>
  305.             <sub>1</sub>
  306.             <var>x</var>
  307.             +
  308.             <var>a</var>
  309.             <sub>2</sub>
  310.             <var>x</var>
  311.             <sup>2</sup>, where
  312.             <var>a</var>
  313.             <sup>2</sup> ≠ 0
  314.         </p>
  315.        
  316.         <time datetime="2013-09-07" pubdate>07 September 2013</time>
  317.    
  318.     </section>
  319.    
  320.    
  321.     <section>
  322.         <figure>
  323.             <img src="http://placekitten.com/g/960/320" alt="Figure Example">
  324.             <figcaption>
  325.                 Photo of the sky at night. Original by <a
  326.                     href="http://flickr.com/photos/heyitsadam/">@mrmrs</a>
  327.             </figcaption>
  328.         </figure>
  329.     </section>
  330.    
  331.     <section>
  332.         <!--
  333.    http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-samp-element
  334.    -->
  335.         <samp>
  336.             <pre>
  337.           /Sites/html master  ☠ ☢
  338.           $  <kbd>ls -gto</kbd>
  339.           total 104
  340.           -rw-r--r--   1   10779 Jun  5 16:24 index.html
  341.           -rw-r--r--   1    1255 Jun  5 16:00 _config.yml
  342.           drwxr-xr-x  11     374 Jun  5 15:57 _site
  343.           -rw-r--r--   1    1597 Jun  5 14:16 README.md
  344.           drwxr-xr-x   5     170 Jun  5 14:15 _sass
  345.           -rw-r--r--   1     564 Jun  4 15:59 Rakefile
  346.           drwxr-xr-x   6     204 Jun  4 15:59 _includes
  347.           drwxr-xr-x   4     136 Jun  4 15:59 _layouts
  348.           drwxr-xr-x   3     102 Jun  4 15:59 _resources
  349.           drwxr-xr-x   3     102 Jun  4 15:59 css
  350.           -rw-r--r--   1    1977 Jun  4 15:59 favicon.icns
  351.           -rw-r--r--   1    6518 Jun  4 15:59 favicon.ico
  352.           -rw-r--r--   1    1250 Jun  4 15:59 touch-icon-ipad-precomposed.png
  353.           -rw-r--r--   1    2203 Jun  4 15:59 touch-icon-ipad-retina-precomposed.png
  354.           -rw-r--r--   1    1046 Jun  4 15:59 touch-icon-iphone-precomposed.png
  355.           -rw-r--r--   1    1779 Jun  4 15:59 touch-icon-iphone-retina-precomposed.png
  356.         </pre>
  357.         </samp>
  358.     </section>
  359.    
  360.     <!-- TABLE -->
  361.     <section>
  362.         <h1 class="other-class">Tables</h1>
  363.         <!--
  364.        From the HTML spec (http://www.w3.org/TR/html401/struct/tables.html)
  365.        TFOOT must appear before TBODY within a TABLE definition so that user agents can
  366.        render the foot before receiving all of the (potentially numerous) rows of data.
  367.        The following summarizes which tags are required and which may be omitted:
  368.        The TBODY start tag is always required except when the table contains only one
  369.        table body and no table head or foot sections. The TBODY end tag may always be
  370.        safely omitted.
  371.        The start tags for THEAD and TFOOT are required when the table head and foot sections
  372.        are present respectively, but the corresponding end tags may always be safely
  373.        omitted.
  374.        Conforming user agent parsers must obey these rules for reasons of backward
  375.        compatibility.
  376.        -->
  377.         <table>
  378.             <caption>This is a caption for a table</caption>
  379.             <thead>
  380.                 <tr>
  381.                     <th>ID</th>
  382.                     <th>Name</th>
  383.                     <th>Date</th>
  384.                     <th>Address</th>
  385.                 </tr>
  386.             </thead>
  387.             <tfoot>Table footer info
  388.             </tfoot>
  389.             <tbody>
  390.                 <tr>
  391.                     <td>#999-32ac</td>
  392.                     <td>First Name</td>
  393.                     <td>13 May, 2013</td>
  394.                     <td>999 Spruce Lane, Somewhere, CA 94101</td>
  395.                 </tr>
  396.                 <tr>
  397.                     <td>#888-32dd</td>
  398.                     <td>Sample Name</td>
  399.                     <td>17 May, 1984</td>
  400.                     <td>999 Spruce Lane, Somewhere, CA 94101</td>
  401.                 </tr>
  402.             </tbody>
  403.         </table>
  404.     </section>
  405.    
  406.     <!-- FOOTER -->
  407.     <section>
  408.         <h1>Footer</h1>
  409.         <footer>
  410.             <small>© 2014 Some company name</small>
  411.             <address>email@email.com</address>
  412.         </footer>
  413.     </section>
  414.    
  415. </body>
  416. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement