Skip to content

Commit c4dfa36

Browse files
committed
Use lowercase HTML tags and attributes. Add quotes around attributes.
1 parent 96b5ab3 commit c4dfa36

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

webapps/examples/jsp/error/error.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
<h1> This example uses <b>errorpage</b> directive </h1>
2222
<br>
2323
<h3> Select my favourite car.</h3>
24-
<form method=get action=err.jsp>
24+
<form method="get" action="err.jsp">
2525
<!-- <br> Make a guess: -->
26-
<SELECT NAME="name" SIZE=5>
27-
<OPTION VALUE="integra"> Acura Integra <BR>
28-
<OPTION VALUE="bmw328i"> BMW 328I <BR>
29-
<OPTION VALUE="z3"> BMW Z3 <BR>
30-
<OPTION VALUE="infiniti"> InfinitiQ3 <BR>
31-
<OPTION VALUE="audi"> Audi A8 <BR>
32-
</SELECT>
33-
<br> <INPUT TYPE=submit name=submit Value="Submit">
26+
<select name="name" size="5">
27+
<option value="integra"> Acura Integra <br>
28+
<option value="bmw328i"> BMW 328I <br>
29+
<option value="z3"> BMW Z3 <br>
30+
<option value="infiniti"> InfinitiQ3 <br>
31+
<option value="audi"> Audi A8 <br>
32+
</select>
33+
<br> <input type="submit" name="submit" value="Submit">
3434
</form>
3535

3636
</body>
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<HTML>
1+
<html>
22
<!--
33
Licensed to the Apache Software Foundation (ASF) under one or more
44
contributor license agreements. See the NOTICE file distributed with
@@ -16,41 +16,41 @@
1616
limitations under the License.
1717
-->
1818

19-
<HEAD>
19+
<head>
2020
<title>
2121
sessions.DummyCart Bean Properties
2222
</title>
23-
<BODY BGCOLOR="white">
24-
<H2>
23+
<body bgcolor="white">
24+
<h2>
2525
sessions.DummyCart Bean Properties
26-
</H2>
27-
<HR>
28-
<DL>
29-
<DT>public class <B>DummyCart</B><DT>extends Object</DL>
26+
</h2>
27+
<hr>
28+
<dl>
29+
<dt>public class <b>DummyCart</b><dt>extends Object</dl>
3030

31-
<P>
32-
<HR>
31+
<p>
32+
<hr>
3333

34-
<P>
34+
<p>
3535

36-
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0">
37-
<TR BGCOLOR="#EEEEFF">
38-
<TD COLSPAN=3><FONT SIZE="+2">
39-
<B>Properties Summary</B></FONT></TD>
40-
</TR>
41-
<TR BGCOLOR="white">
36+
<table border="1" width="100%" cellpadding="3" cellspacing="0">
37+
<tr bgcolor="#EEEEFF">
38+
<td colspan=3><font size="+2">
39+
<b>Properties Summary</b></font></td>
40+
</tr>
41+
<tr bgcolor="white">
4242
<td align="right" valign="top" width="1%">
43-
<FONT SIZE="-1">
43+
<font size="-1">
4444
String
45-
</FONT></TD>
46-
<TD><B>DummyCart:items</B>
47-
<BR>
48-
</TD>
45+
</font></td>
46+
<td><b>DummyCart:items</b>
47+
<br>
48+
</td>
4949
<td width="1%">
50-
<FONT SIZE="-1">
50+
<font size="-1">
5151
Multi
52-
</FONT></TD>
53-
</TABLE>
54-
<HR>
55-
</BODY>
56-
</HTML>
52+
</font></td>
53+
</table>
54+
<hr>
55+
</body>
56+
</html>

0 commit comments

Comments
 (0)