summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2005-04-14 06:41:57 +0000
committerot <ot@localhost>2005-04-14 06:41:57 +0000
commit59d10e9bfbf734922a5bda25b8641cd01e7f4f35 (patch)
treee96e2abcdfa091b9ccbfd253b10a5bdc7b06e0ac
parentccd59b70e5c289bfed38f16d814c7bd756179a07 (diff)
downloadmarkup-validator-59d10e9bfbf734922a5bda25b8641cd01e7f4f35.zip
markup-validator-59d10e9bfbf734922a5bda25b8641cd01e7f4f35.tar.gz
markup-validator-59d10e9bfbf734922a5bda25b8641cd01e7f4f35.tar.bz2
By "popular demand", bringing back the "fragment-upload" interface,
renamed Direct Input (same as in CSS validator, and added similar controls and navigation as the current CSS val).
-rwxr-xr-xhtdocs/fragment-upload.html16
-rwxr-xr-xhtdocs/index.html32
2 files changed, 33 insertions, 15 deletions
diff --git a/htdocs/fragment-upload.html b/htdocs/fragment-upload.html
index 0fbaf2f..bc41628 100755
--- a/htdocs/fragment-upload.html
+++ b/htdocs/fragment-upload.html
@@ -1,21 +1,15 @@
-<!--#set var="revision" value="\$Id: fragment-upload.html,v 1.9 2004-07-21 15:06:55 link Exp $"
---><!--#set var="date" value="\$Date: 2004-07-21 15:06:55 $"
---><!--#set var="title" value="W3C Markup Validation Service: Validate Fragment"
+<!--#set var="revision" value="\$Id: fragment-upload.html,v 1.10 2005-04-14 06:41:57 ot Exp $"
+--><!--#set var="date" value="\$Date: 2005-04-14 06:41:57 $"
+--><!--#set var="title" value="W3C Markup Validation Service: Validate by Direct Input"
--><!--#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>
+ This form allows you paste <em>complete</em> HTML documents and have them validated.
</p>
<div>
- <h2>Validate HTML Fragment</h2>
+ <h2>Validate by Direct Input</h2>
<form method="post" enctype="multipart/form-data" action="check">
diff --git a/htdocs/index.html b/htdocs/index.html
index 8a51b58..a99cac4 100755
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: index.html,v 1.67 2005-02-16 23:29:15 ot Exp $"
---><!--#set var="date" value="\$Date: 2005-02-16 23:29:15 $"
+<!--#set var="revision" value="\$Id: index.html,v 1.68 2005-04-14 06:41:57 ot Exp $"
+--><!--#set var="date" value="\$Date: 2005-04-14 06:41:57 $"
--><!--#set var="title" value="The W3C Markup Validation Service"
--><!--#set var="relroot" value="./"
--><!--#include virtual="header.html" -->
@@ -15,7 +15,15 @@
<div>
<h2>Validate Your Markup</h2>
- <fieldset class="front"><legend>Validate by URL</legend>
+
+ <p class="navigate">
+ Validate your documents:
+ <a href="#validate-by-uri">by URI</a> |
+ <a href="#validate-by-upload">by File Upload</a> |
+ <a href="#validate-by-input">by direct Input</a>
+ </p>
+
+ <fieldset class="front" id="validate-by-uri"><legend>Validate by URL</legend>
<form method="get" action="check">
<p>
<label title="Address of page to Validate" for="uri">Address:
@@ -31,7 +39,7 @@
</p>
</fieldset>
<br />
- <fieldset class="front"><legend>Validate by File Upload</legend>
+ <fieldset class="front" id="validate-by-upload"><legend>Validate by File Upload</legend>
<form method="post" enctype="multipart/form-data" action="check">
<p>
<label title="Choose a Local File to Upload and Validate" for="uploaded_file">Local File:
@@ -50,6 +58,22 @@
<a href="http://www.w3.org/QA/2005/01/Validator-IE_WinXP_SP2">information page</a>
on the W3C QA Website.</p>
</fieldset>
+ <br />
+ <fieldset class="front" id="validate-by-input"><legend>Validate by Direct Input</legend>
+ <form method="post" enctype="multipart/form-data" action="check">
+ <p>Input the markup you would like to validate in the text area below:</p>
+ <p>
+ <label title="Paste a complete (HTML) Document here" for="fragment">
+ <textarea cols="75" rows="12" name="fragment"></textarea></label><br />
+ <label title="Submit markup for validation"><input type="submit" value="Check" /></label>
+ </p>
+ </form>
+ <p>Only complete documents (along with a
+ <a href="docs/help.html#faq-doctype">Doctype declaration</a>) will be validated.
+ Advanced options are available from the
+ <a href="fragment-upload.html">Extended Direct Input Interface</a>.</p>
+ </fieldset>
+
</div>
<div id="recent">