summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/lg-080813-label.html
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/nxhtml/tests/in/lg-080813-label.html')
-rw-r--r--emacs.d/nxhtml/tests/in/lg-080813-label.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/lg-080813-label.html b/emacs.d/nxhtml/tests/in/lg-080813-label.html
new file mode 100644
index 0000000..8e790eb
--- /dev/null
+++ b/emacs.d/nxhtml/tests/in/lg-080813-label.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><title></title></head>
+ <body>
+ <p>
+ Since nXml do not have a schema for xhtml 1.0 transitional it
+ uses strict instead. Therefore it gaves false errors here.
+ </p>
+ <form action="" method="get">
+ <label for="inputname">Label for field: </label>
+ <input type="text" name="inputname" id="inputname" />
+ </form>
+ </body>
+</html>