summaryrefslogtreecommitdiffstats
path: root/htdocs/index.html
blob: b45e269d04e84a21c485bdc42b01023f9eb9d609 (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!--#set var="title" value="The W3C Markup Validation Service"
--><!--#set var="relroot" value="./"
--><!--#set var="feeds" value="1"
--><!--#set var="includeJS" value="1"
--><!--#include virtual="header.html" -->

<div id="frontforms">
	<ul id="tabset_tabs">
		<li><a href="#validate-by-uri"><span>Validate by</span> URI</a></li>
		<li><a href="#validate-by-upload"><span>Validate by</span> File Upload</a></li>
		<li><a href="#validate-by-input"><span>Validate by</span> Direct Input</a></li>
	</ul>
<div id="fields">

<fieldset id="validate-by-uri" class="tabset_content front"><legend class="tabset_label">Validate by URI</legend>
  <form method="get" action="check">
    <p class="instructions">
	Validate a document online:     
   </p>
   <p>
	<label title="Address of page to Validate" for="uri">Address:</label>
        <input type="text" name="uri" id="uri" size="45" />
   </p>
  <fieldset id="extra_opt_uri" class="moreoptions">
		<legend class="toggletext"><a href="#validate_by_uri+with_options"><img id="toggleiconURI" class="toggleicon" src="./images/arrow-closed.png" alt="Show" /> More Options</a></legend>
		<div class="options">
		
                <!--#set var="fieldset_id" value="uri"-->
                <!--#include virtual="detailed-form.html" -->  
    </div>
  </fieldset>


	<p class="submit_button">
			<input type="submit" title="Submit for validation" value="Check" />
	</p>
	
  </form>
</fieldset>

<fieldset id="validate-by-upload"  class="tabset_content front"><legend class="tabset_label">Validate by File Upload</legend>
<form method="post" enctype="multipart/form-data" action="check">
  <p class="instructions">Upload a document for validation:</p>
  <p><label title="Choose a Local File to Upload and Validate" for="uploaded_file">File:</label>
    <input type="file" id="uploaded_file" name="uploaded_file" size="30" /></p>        
    <fieldset id="extra_opt_upload" class="moreoptions">
			<legend class="toggletext"><a href="#validate_by_upload+with_options"><img class="toggleicon" src="./images/arrow-closed.png" alt="Show" /> More Options</a></legend>
			<div class="options">
         <!--#set var="fieldset_id" value="upload"-->
         <!--#include virtual="detailed-form.html" -->
      </div>
    </fieldset><!-- invisible -->

		<p class="submit_button">
				<input title="Submit for validation" type="submit" value="Check" />
		</p>
		
</form>
                <p><strong>Note</strong>: file upload may not work with Internet
                Explorer on some versions of Windows XP Service Pack 2, see our
                <a href="http://www.w3.org/QA/2005/01/Validator-IE_WinXP_SP2">information page</a>
                on the W3C QA Website.</p>

</fieldset>
      <fieldset id="validate-by-input"  class="tabset_content front"><legend class="tabset_label">Validate by direct input</legend>
                  <form method="post" enctype="multipart/form-data" action="check">
                          <p class="instructions"><label title="Paste a complete (HTML) Document here" for="fragment">Enter the Markup to validate</label>:<br />
                                  
                      	<textarea id="fragment" name="fragment" rows="12" cols="80"></textarea>
                       <!--  <br /><label for="parsemodel">Treat as:</label>
                                <select id="parsemodel" name="parsemodel">
                                        <option value="sgml">HTML</option>
                                        <option value="xml">XML (and XHTML)</option>
                                </select> -->
                        </p>
                          <fieldset id="extra_opt_direct" class="moreoptions">
                						<legend class="toggletext"><a href="#validate_by_input+with_options"><img class="toggleicon" src="./images/arrow-closed.png" alt="Show" /> More Options</a></legend>
                						<div class="options">
                						
                                        <table>
                                        <!--#set var="fieldset_id" value="direct"-->
                                        <!--#include virtual="detailed-form_directinput.html" -->  
                                        </table>
                            </div>
                            </fieldset>
                            

                  					<p class="submit_button">
                  							<input title="Submit for validation" type="submit" value="Check" />
                  					</p>


                  </form>
                </fieldset>
  </div><!-- fields -->
  </div> <!-- frontforms -->
<!--#include virtual="intro.html" -->
<!--#include virtual="footer.html" -->
  </body>
</html>