summaryrefslogtreecommitdiffstats
path: root/htdocs/fragment-upload.html
blob: cf033e0485739aeb2161dc76b09f59f54e3d62e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!--#set var="revision" value="\$Id: fragment-upload.html,v 1.8 2003-02-24 23:33:18 ville Exp $"
--><!--#set var="date" value="\$Date: 2003-02-24 23:33:18 $"
--><!--#set var="title" value="W3C Markup Validation Service: Validate Fragment"
--><!--#set var="relroot" value="./"
--><!--#include virtual="header.html" -->

  <p id="skip">
    This form allows you paste fragments of HTML and have them validated.
  </p>

  <p class="warning">
    <strong>WARNING: This feature is highly experimental and has known
      limitations (it only supports HTML, for one thing!). Do <em>not</em>
      rely on it for 100% correctness! You have been warned!</strong>
  </p>

  <div>
    <h2>Validate HTML Fragment</h2>

    <form method="post" enctype="multipart/form-data" action="check">

      <table cellpadding="0" cellspacing="0">

        <tr>
          <td colspan="2">
            <label for="doctype">Document Type:
<!--#include virtual="doctype-select.html" -->
            </label>
          </td>
        </tr>
        <tr>
          <td>
            <label for="ss"><input id="ss" name="ss" type="checkbox" value="1" /> Show Source</label>
          </td>
          <td>
            <label for="sp"><input id="sp" name="sp" type="checkbox" value="1" /> Show Parse Tree</label>
          </td>
        </tr>
        <tr>
          <td>
            <label for="outline"><input id="outline" name="outline" type="checkbox" value="1" /> Show Outline</label>
          </td>
          <td>
            <label for="noatt"><input id="noatt" name="noatt" type="checkbox" value="1" /> ...exclude attributes</label>
          </td>
        </tr>
        <tr>
          <td colspan="2"><textarea cols="60" rows="24" name="fragment"></textarea></td>
        </tr>

      </table>

      <p>
        <input type="submit" value="Validate this document" />
        <input type="reset" value="Reset this form" />
      </p>

    </form>
  </div>

  <p>
    If your document is on the Web, you can validate
    it by <a title="Validate files by URI" href="./">entering its address</a> instead.
  </p>

<!--#include virtual="footer.html" -->

  </body>
</html>