summaryrefslogtreecommitdiffstats
path: root/htdocs/index.html
blob: 77a0bd0d90eb29d2f116e08efff565f16be04967 (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
<!--#set var="revision" value="\$Id: index.html,v 1.82 2007-02-20 08:23:58 ot Exp $"
--><!--#set var="date" value="\$Date: 2007-02-20 08:23:58 $"
--><!--#set var="title" value="The W3C Markup Validation Service"
--><!--#set var="relroot" value="./"
--><!--#include virtual="header.html" -->

<p id="tagline">
Check the markup (HTML, XHTML) of Web documents
</p>

<div id="frontforms">
<ul class="tabset_tabs"><li><a href="#validate-by-uri" class="active">by URI</a></li><li><a href="#validate-by-upload">by File Upload</a></li><li><a href="#validate-by-input">by 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 alttoggle closed">
           <legend class="toggletext">More Options</legend>  
                <!--#set var="fieldset_id" value="uri"-->
                <!--#include virtual="detailed-form.html" -->  
  </fieldset><!-- invisible -->
        	<p class="submit_button"><label title="Submit file for validation"><input type="submit" value="Check" /></label></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 alttoggle closed">
    <legend class="toggletext">More Options</legend>
         <!--#set var="fieldset_id" value="upload"-->
         <!--#include virtual="detailed-form.html" -->  
    </fieldset><!-- invisible -->
   <p class="submit_button"><label title="Submit file for validation"><input type="submit" value="Check" /></label></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 (Full Document) to validate</label>:<br />
                                  
                      	<textarea id="fragment" name="fragment" rows="12" cols="70"></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 alttoggle closed">
                                   <legend class="toggletext">More Options</legend>   
                                        <table>
                                        <!--#set var="fieldset_id" value="direct"-->
                                        <!--#include virtual="detailed-form_directinput.html" -->  
                                        </table>
                                </fieldset><!-- invisible -->

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

                  </form>
                </fieldset>
  </div><!-- fields -->
  </div> <!-- frontforms -->
<div class="intro">
    <p>
        This validator checks the 
        <a href="docs/help.html#validation_basics" title="What is Markup Validation?">Markup Validity</a>
        of Web documents in HTML, XHTML, SMIL, MathML, etc.
        If you wish to validate specific content such as 
        <a href="http://validator.w3.org/feed/" title="Feed validator, hosted at W3C">RSS/Atom feeds</a> or
	<a href="http://jigsaw.w3.org/css-validator/" title="W3C CSS Validation Service">CSS stylesheets</a>
        or to <a href="http://validator.w3.org/checklink" title="W3C Link Checker">find broken links</a>, 
 there are <a href="http://www.w3.org/QA/Tools/">other validators and tools</a> available.
      </p>
    <p>This is the markup Validator v0.8.0-dev. 
    Latest Stable release of the validator was 
    <a href="whatsnew.html#t2006-11-14">version 0.7.4, released 14 Nov, 2006</a>.</p>
</div>
<!--#include virtual="footer.html" -->