Posted By

koorb on 11/18/10


Tagged

css textmate html style sample


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

abbyabigale


Sample HTML


 / Published in: HTML
 

Use as a basis for developing base CSS styles

  1. <!-- start: Sample Content -->
  2.  
  3. <h1>CSS Basic Elements</h1>
  4.  
  5. <p>The purpose of this HTML is to help determine what default settings are with
  6. CSS and to make sure that all possible HTML Elements are included in this HTML
  7. so as to not miss any possible Elements when designing a site.</p>
  8.  
  9. <hr />
  10.  
  11. <h1 id="headings">Headings</h1>
  12.  
  13. <h1>Heading 1</h1>
  14. <h2>Heading 2</h2>
  15. <h3>Heading 3</h3>
  16. <h4>Heading 4</h4>
  17. <h5>Heading 5</h5>
  18. <h6>Heading 6</h6>
  19.  
  20. <small><a href="#top">top &uarr;</a></small>
  21. <hr />
  22.  
  23.  
  24. <h1 id="paragraph">Paragraph</h1>
  25.  
  26. <img style="width:250px;float:right" src="http://www.google.co.uk/images/logos/ps_logo2.png" alt="Google" />
  27. <p>Lorem ipsum dolor sit amet, <a href="#" title="test link">test link</a>
  28. adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec
  29. faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi,
  30. imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis
  31. luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus.
  32. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a
  33. ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi
  34. imperdiet augue quis tellus.</p>
  35.  
  36. <p>Lorem ipsum dolor sit amet, <em>emphasis</em> consectetuer adipiscing elit.
  37. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis
  38. suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt
  39. nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum,
  40. turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare
  41. tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante.
  42. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi
  43. imperdiet augue quis tellus.</p>
  44.  
  45. <small><a href="#top">top &uarr;</a></small>
  46. <hr />
  47.  
  48. <h1 id="list_types">List Types</h1>
  49.  
  50. <h3>Definition List</h3>
  51. <dl>
  52. <dt>Definition List Title</dt>
  53. <dd>This is a definition list division.</dd>
  54. </dl>
  55.  
  56. <h3>Ordered List</h3>
  57. <ol>
  58. <li>List Item 1</li>
  59. <li>List Item 2</li>
  60. <li>List Item 3</li>
  61. </ol>
  62.  
  63. <h3>Unordered List</h3>
  64. <ul>
  65. <li>List Item 1</li>
  66. <li>List Item 2</li>
  67. <li>List Item 3</li>
  68. </ul>
  69.  
  70. <small><a href="#top">top &uarr;</a></small>
  71. <hr />
  72.  
  73. <h1 id="form_elements">Fieldsets, Legends, and Form Elements</h1>
  74.  
  75. <legend>Legend</legend>
  76.  
  77. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam
  78. dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis
  79. suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt
  80. nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum,
  81. turpis mi volutpat justo, eu volutpat enim diam eget metus.</p>
  82.  
  83. <form>
  84. <h2>Form Element</h2>
  85.  
  86. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam
  87. dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis
  88. suscipit dui.</p>
  89.  
  90. <p><label for="text_field">Text Field:</label><br />
  91. <input type="text" id="text_field" /></p>
  92.  
  93. <p><label for="text_area">Text Area:</label><br />
  94. <textarea id="text_area"></textarea></p>
  95.  
  96. <p><label for="select_element">Select Element:</label><br />
  97. <select name="select_element">
  98. <optgroup label="Option Group 1">
  99. <option value="1">Option 1</option>
  100. <option value="2">Option 2</option>
  101. <option value="3">Option 3</option>
  102. <optgroup label="Option Group 2">
  103. <option value="1">Option 1</option>
  104. <option value="2">Option 2</option>
  105. <option value="3">Option 3</option>
  106. </select></p>
  107.  
  108. <p><label for="radio_buttons">Radio Buttons:</label><br />
  109. <input type="radio" class="radio" name="radio_button" value="radio_1" /> Radio 1<br/>
  110. <input type="radio" class="radio" name="radio_button" value="radio_2" /> Radio 2<br/>
  111. <input type="radio" class="radio" name="radio_button" value="radio_3" /> Radio 3<br/>
  112. </p>
  113.  
  114. <p><label for="checkboxes">Checkboxes:</label><br />
  115. <input type="checkbox" class="checkbox" name="checkboxes" value="check_1" /> Radio 1<br/>
  116. <input type="checkbox" class="checkbox" name="checkboxes" value="check_2" /> Radio 2<br/>
  117. <input type="checkbox" class="checkbox" name="checkboxes" value="check_3" /> Radio 3<br/>
  118. </p>
  119.  
  120. <p><label for="password">Password:</label><br />
  121. <input type="password" class="password" name="password" />
  122. </p>
  123.  
  124. <p><label for="file">File Input:</label><br />
  125. <input type="file" class="file" name="file" />
  126. </p>
  127.  
  128.  
  129. <p><input class="button" type="reset" value="Clear" /> <input class="button" type="submit" value="Submit" />
  130. </p>
  131.  
  132.  
  133.  
  134. </form>
  135.  
  136.  
  137. <small><a href="#top">top &uarr;</a></small>
  138. <hr />
  139.  
  140. <h1 id="tables">Tables</h1>
  141.  
  142. <table cellspacing="0" cellpadding="0">
  143. <tr>
  144. <th>Table Header 1</th><th>Table Header 2</th><th>Table Header 3</th>
  145. </tr>
  146. </thead>
  147. <tr>
  148. <td>Division 1</td><td>Division 2</td><td>Division 3</td>
  149. </tr>
  150. <tr class="even">
  151. <td>Division 1</td><td>Division 2</td><td>Division 3</td>
  152. </tr>
  153. <tr>
  154. <td>Division 1</td><td>Division 2</td><td>Division 3</td>
  155. </tr>
  156. </tbody>
  157.  
  158. <small><a href="#top">top &uarr;</a></small>
  159. <hr />
  160.  
  161. <h1 id="misc">Misc Stuff - abbr, acronym, pre, code, sub, sup, etc.</h1>
  162.  
  163. <p>Lorem <sup>superscript</sup> dolor <sub>subscript</sub> amet, consectetuer
  164. adipiscing elit. Nullam dignissim convallis est. Quisque aliquam.
  165. <cite>cite</cite>. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero
  166. nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis,
  167. massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam
  168. eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla
  169. nonummy. <acronym title="National Basketball Association">NBA</acronym> Mauris a
  170. ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi
  171. imperdiet augue quis tellus. <abbr title="Avenue">AVE</abbr></p>
  172.  
  173. <pre><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam
  174. dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit
  175. dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida
  176. vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat
  177. justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed
  178. tellus eget sapien fringilla nonummy. <acronym title="National Basketball
  179. Association">NBA</acronym> Mauris a ante. Suspendisse quam sem, consequat at,
  180. commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. <abbr
  181. title="Avenue">AVE</abbr></p></pre>
  182.  
  183. "This stylesheet is going to help so freaking much."
  184. <cite>-Blockquote</cite>
  185.  
  186. <small><a href="#top">top &uarr;</a></small>
  187.  
  188. <!-- end: Sample Content -->

Report this snippet  

You need to login to post a comment.