Created
August 6, 2010 21:17
-
-
Save zandev/512021 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div> | |
| <h2>Tests for common HTML elements | |
| </h2> | |
| <hr> | |
| <h5>PARAGRAPHS | |
| <span>& | |
| </span> BOXES | |
| </h5> | |
| <div> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
| </p> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor | |
| <sub>sub text | |
| </sub> ut labore et | |
| <sup>sup text | |
| </sup> magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
| </p> | |
| </div> | |
| <div> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | |
| </p> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | |
| </p> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | |
| </p> | |
| </div> | |
| <div> | |
| <div> | |
| <p>Aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
| </p> | |
| </div> | |
| <blockquote> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | |
| </p> | |
| </blockquote> | |
| </div> | |
| <hr> | |
| <h5>LISTS | |
| </h5> | |
| <div> | |
| <ul> | |
| <li>Unordered list test | |
| </li> | |
| <li>Another list element. Lorem ipsum dolor sit amet, consectetur adipisicing elit. | |
| </li> | |
| <li>Yet another element in the list | |
| </li> | |
| <li>Some long text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. | |
| </li> | |
| </ul> | |
| <ol> | |
| <li>Ordered list test | |
| </li> | |
| <li>Another list element | |
| </li> | |
| <li>Yet another element in the list | |
| </li> | |
| </ol> | |
| </div> | |
| <div> | |
| <ol> | |
| <li>Ordered list | |
| </li> | |
| <li>Here's a nested unordered list | |
| <ul> | |
| <li>Nested Unordered list | |
| </li> | |
| <li>Nested ordered list | |
| <ol> | |
| <li>The first | |
| </li> | |
| <li>And the second | |
| </li> | |
| </ol> | |
| </li> | |
| </ul> | |
| </li> | |
| <li>Ordered List item | |
| </li> | |
| <li>Nested Ordered list | |
| <ol> | |
| <li>Some point | |
| </li> | |
| <li>Nested Unordered list | |
| <ul> | |
| <li>The first | |
| </li> | |
| <li>And the second | |
| </li> | |
| </ul> | |
| </li> | |
| </ol> | |
| </li> | |
| </ol> | |
| </div> | |
| <div> | |
| <dl> | |
| <dt>definition list dt | |
| </dt> | |
| <dd>definition list dd | |
| </dd> | |
| <dt>definition list dt | |
| </dt> | |
| <dd>definition list dd | |
| </dd> | |
| <dt>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit | |
| </dt> | |
| <dd>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit | |
| </dd> | |
| <dt>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit | |
| </dt> | |
| <dd>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit | |
| </dd> | |
| </dl> | |
| </div> | |
| <hr> | |
| <h5>HEADINGS | |
| </h5> | |
| <div> | |
| <h1>H1: Lorem ipsum dolor sit amet | |
| </h1> | |
| <h2>H2: Lorem ipsum dolor sit amet, consectetur elit | |
| </h2> | |
| <h3>H3: Lorem ipsum dolor sit amet, consectetur adipisicing elit | |
| </h3> | |
| <h4>H4: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipis | |
| </h4> | |
| <h5>H5: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit | |
| </h5> | |
| <h6>H6: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit | |
| </h6> | |
| </div> | |
| <div> | |
| <h1>Heading 1 | |
| </h1> | |
| <hr> | |
| <h2>Heading 2 | |
| </h2> | |
| <hr> | |
| <h3>Heading 3 | |
| </h3> | |
| <hr> | |
| <h4>Heading 4 | |
| </h4> | |
| <hr> | |
| <h5>Heading 5 | |
| </h5> | |
| <hr> | |
| <h6>Heading 6 | |
| </h6> | |
| </div> | |
| <div> | |
| <h1>Heading 1 | |
| </h1> | |
| <h2>Heading 2 | |
| </h2> | |
| <h3>Heading 3 | |
| </h3> | |
| <h4>Heading 4 | |
| </h4> | |
| <h5>Heading 5 | |
| </h5> | |
| <h6>Heading 6 | |
| </h6> | |
| </div> | |
| <hr> | |
| <h5>MISC ELEMENTS | |
| </h5> | |
| <div> | |
| <p> | |
| <strong><strong> | |
| </strong> | |
| <br> | |
| <del><del> deleted | |
| </del> | |
| <br> | |
| <dfn><dfn> dfn | |
| </dfn> | |
| <br> | |
| <em><em> emphasis | |
| </em> | |
| </p> | |
| <p> | |
| <a><a> anchor | |
| </a> | |
| <br> | |
| <a href="http://www.google.com"><a> a + href | |
| </a> | |
| </p> | |
| <p> | |
| <abbr title="extended abbr text should show when mouse over"><abbr> abbr - extended text when mouseover. | |
| </abbr> | |
| <br> | |
| <acronym title="extended acronym text should show when mouse over"><acronym> acronym - extended text when mouseover. | |
| </acronym> | |
| </p> | |
| <address> | |
| <address> | |
| <br> | |
| Donald Duck | |
| <br> | |
| Box 555 | |
| <br> | |
| Disneyland | |
| </address> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore dolore. | |
| </p> | |
| </div> | |
| <div> | |
| <table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0"> | |
| <caption> | |
| <em>A standard test table with a caption, tr, td elements | |
| </em> | |
| </caption> | |
| <tr> | |
| <th>Table Header One | |
| </th> | |
| <th>Table Header Two | |
| </th> | |
| </tr> | |
| <tr> | |
| <td>TD One | |
| </td> | |
| <td>TD Two | |
| </td> | |
| </tr> | |
| <tr> | |
| <td colspan="2">TD colspan 2 | |
| </td> | |
| </tr> | |
| </table> | |
| <table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0"> | |
| <caption> | |
| <em>A test table with a thead, tfoot, and tbody elements | |
| </em> | |
| </caption> | |
| <thead> | |
| <tr> | |
| <th>Table Header One | |
| </th> | |
| <th>Table Header Two | |
| </th> | |
| </tr> | |
| </thead> | |
| <tfoot> | |
| <tr> | |
| <td colspan="2">tfoot footer | |
| </td> | |
| </tr> | |
| </tfoot> | |
| <tbody> | |
| <tr> | |
| <td>TD One | |
| </td> | |
| <td>TD Two | |
| </td> | |
| </tr> | |
| <tr> | |
| <td>TD One | |
| </td> | |
| <td>TD Two | |
| </td> | |
| </tr> | |
| </tbody> | |
| <tbody> | |
| <tr> | |
| <td>TD One | |
| </td> | |
| <td>TD Two | |
| </td> | |
| </tr> | |
| <tr> | |
| <td>TD One | |
| </td> | |
| <td>TD Two | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div> | |
| <pre><pre> | |
| pre space1 | |
| pre space1 | |
| pre space2 | |
| pre space2 | |
| pre tab | |
| pre tab | |
| </pre> | |
| <code><code> | |
| Not indented | |
| indent1 | |
| indent1 | |
| indent2 | |
| indent3 | |
| </code> | |
| <tt><tt> | |
| This tt text should be monospaced | |
| and | |
| wrap as if | |
| one line of text | |
| even though the code has newlines, spaces, and tabs. | |
| It should be the same size as <p> text. | |
| </tt> | |
| </div> | |
| <hr> | |
| <p> | |
| <a href="http://validator.w3.org/check?uri=referer"> | |
| <img src="valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88"> | |
| </a> | |
| </p> | |
| </div> | |
| <div> | |
| <h1>Forms | |
| </h1> | |
| <hr> | |
| <div> | |
| <form id="dummy" action="" method="post"> | |
| <fieldset> | |
| <legend>Simple sample form | |
| </legend> | |
| <p> | |
| <label for="dummy0">Text input (title) | |
| </label> | |
| <br> | |
| <input type="text"> | |
| </p> | |
| <p> | |
| <label for="dummy1">Another field | |
| </label> | |
| <br> | |
| <input type="text"> | |
| </p> | |
| <p> | |
| <label for="dummy2">Textarea | |
| </label> | |
| <br> | |
| <textarea name="dummy2" id="dummy2" rows="5" cols="20"> | |
| </textarea> | |
| </p> | |
| <p> | |
| <input type="submit" value="Submit"> | |
| <input type="reset" value="Reset"> | |
| </p> | |
| </fieldset> | |
| </form> | |
| </div> | |
| <div> | |
| <div> | |
| This is a <div> with the class | |
| <strong>.error | |
| </strong>. | |
| <a href="#">Link | |
| </a>. | |
| </div> | |
| <div> | |
| This is a <div> with the class | |
| <strong>.notice | |
| </strong>. | |
| <a href="#">Link | |
| </a>. | |
| </div> | |
| <div> | |
| This is a <div> with the class | |
| <strong>.success | |
| </strong>. | |
| <a href="#">Link | |
| </a>. | |
| </div> | |
| <fieldset> | |
| <legend>Select, checkboxes, lists | |
| </legend> | |
| <p> | |
| <label for="dummy3">Select field | |
| </label> | |
| <br> | |
| <select id="dummy3" name="dummy3"> | |
| <option value="1">Ottawa | |
| </option> | |
| <option value="2">Calgary | |
| </option> | |
| <option value="3">Moosejaw | |
| </option> | |
| </select> | |
| </p> | |
| <p> | |
| <label for="dummy4">Select with groups | |
| </label> | |
| <br> | |
| <select id="dummy4" name="dummy4"> | |
| <option>Favorite pet | |
| </option> | |
| <optgroup label="mammals"> | |
| <option>dog | |
| </option> | |
| <option>cat | |
| </option> | |
| <option>rabbit | |
| </option> | |
| <option>horse | |
| </option> | |
| </optgroup> | |
| <optgroup label="reptiles"> | |
| <option>iguana | |
| </option> | |
| <option>snake | |
| </option> | |
| </optgroup> | |
| </select> | |
| </p> | |
| <p> | |
| <label>Radio buttons | |
| </label> | |
| <br> | |
| <input type="radio" name="example"> Radio one | |
| <br> | |
| <input type="radio" name="example"> Radio two | |
| <br> | |
| <input type="radio" name="example"> Radio three | |
| <br> | |
| </p> | |
| <p> | |
| <label>Checkboxes | |
| </label> | |
| <br> | |
| <input type="checkbox"> Check one | |
| <br> | |
| <input type="checkbox"> Check two | |
| <br> | |
| <input type="checkbox"> Check three | |
| <br> | |
| </p> | |
| </fieldset> | |
| </div> | |
| <div> | |
| <fieldset> | |
| <legend>Alignment | |
| </legend> | |
| <p> | |
| <label for="dummy5">Select field | |
| </label> | |
| <select id="dummy5" name="dummy5"> | |
| <option value="1">Ottawa | |
| </option> | |
| <option value="2">Calgary | |
| </option> | |
| <option value="3">Moosejaw | |
| </option> | |
| </select> | |
| </p> | |
| <p> | |
| <label for="dummy6">Text input (title) | |
| </label> | |
| <input type="text"> | |
| </p> | |
| <p> | |
| <label for="dummy7">Select field | |
| </label> | |
| <select id="dummy7" name="dummy7"> | |
| <option value="1">Ottawa | |
| </option> | |
| <option value="2">Calgary | |
| </option> | |
| <option value="3">Moosejaw | |
| </option> | |
| </select> | |
| <label for="dummy8">Another field | |
| </label> | |
| <input type="text"> | |
| </p> | |
| </p> | |
| </fieldset> | |
| </div> | |
| <div> | |
| <form action="" method="post"> | |
| <fieldset> | |
| <legend>A form with class "inline" | |
| </legend> | |
| <div> | |
| <label for="a">Label A: | |
| </label> | |
| <select id="a" name="a"> | |
| <option value="0">All | |
| </option> | |
| </select> | |
| </div> | |
| <div> | |
| some text | |
| </div> | |
| <div> | |
| <input type="checkbox" id="o" name="o" value="true" checked="checked">checkbox one | |
| </div> | |
| <div> | |
| <label for="b">Label B: | |
| </label> | |
| <select id="b" name="b"> | |
| <option value="0">All | |
| </option> | |
| </select> | |
| </div> | |
| <div> | |
| <a href="">A Hyperlink | |
| </a> | |
| </div> | |
| <div> | |
| <input type="text"> | |
| </div> | |
| <div> | |
| <input type="submit" value="submit"> | |
| </div> | |
| </fieldset> | |
| </form> | |
| </div> | |
| <hr> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment