Skip to content

Commit 2406b0a

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

File tree

3 files changed

+116
-107
lines changed

3 files changed

+116
-107
lines changed
Lines changed: 69 additions & 68 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,101 +16,102 @@
1616
limitations under the License.
1717
-->
1818

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

31-
<P>
32-
<HR>
32+
<p>
33+
<hr>
3334

34-
<P>
35+
<p>
3536

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">
37+
<table border="1" width="100%" cellpadding="3" cellspacing="0">
38+
<tr bgcolor="#eeeeff">
39+
<td colspan=3><font size="+2">
40+
<b>Properties Summary</b></font></td>
41+
</tr>
42+
<tr bgcolor="white">
4243
<td align="right" valign="top" width="1%">
43-
<FONT SIZE="-1">
44+
<font size="-1">
4445
String
45-
</FONT></TD>
46-
<TD><B>ColorGameBean:color2</B>
47-
<BR>
48-
</TD>
46+
</font></td>
47+
<td><b>ColorGameBean:color2</b>
48+
<br>
49+
</td>
4950
<td width="1%">
50-
<FONT SIZE="-1">
51+
<font size="-1">
5152
Single
52-
</FONT></TD>
53-
<TR BGCOLOR="white">
53+
</font></td>
54+
<tr bgcolor="white">
5455
<td align="right" valign="top" width="1%">
55-
<FONT SIZE="-1">
56+
<font size="-1">
5657
String
57-
</FONT></TD>
58-
<TD><B>ColorGameBean:color1</B>
59-
<BR>
60-
</TD>
58+
</font></td>
59+
<td><b>ColorGameBean:color1</b>
60+
<br>
61+
</td>
6162
<td width="1%">
62-
<FONT SIZE="-1">
63+
<font size="-1">
6364
Single
64-
</FONT></TD>
65-
<TR BGCOLOR="white">
65+
</font></td>
66+
<tr bgcolor="white">
6667
<td align="right" valign="top" width="1%">
67-
<FONT SIZE="-1">
68+
<font size="-1">
6869
int
69-
</FONT></TD>
70-
<TD><B>ColorGameBean:attempts</B>
71-
<BR>
72-
</TD>
70+
</font></td>
71+
<td><b>ColorGameBean:attempts</b>
72+
<br>
73+
</td>
7374
<td width="1%">
74-
<FONT SIZE="-1">
75+
<font size="-1">
7576
Single
76-
</FONT></TD>
77-
<TR BGCOLOR="white">
77+
</font></td>
78+
<tr bgcolor="white">
7879
<td align="right" valign="top" width="1%">
79-
<FONT SIZE="-1">
80+
<font size="-1">
8081
boolean
81-
</FONT></TD>
82-
<TD><B>ColorGameBean:hint</B>
83-
<BR>
84-
</TD>
82+
</font></td>
83+
<td><b>ColorGameBean:hint</b>
84+
<br>
85+
</td>
8586
<td width="1%">
86-
<FONT SIZE="-1">
87+
<font size="-1">
8788
Single
88-
</FONT></TD>
89-
<TR BGCOLOR="white">
89+
</font></td>
90+
<tr bgcolor="white">
9091
<td align="right" valign="top" width="1%">
91-
<FONT SIZE="-1">
92+
<font size="-1">
9293
boolean
93-
</FONT></TD>
94-
<TD><B>ColorGameBean:success</B>
95-
<BR>
96-
</TD>
94+
</font></td>
95+
<td><b>ColorGameBean:success</b>
96+
<br>
97+
</td>
9798
<td width="1%">
98-
<FONT SIZE="-1">
99+
<font size="-1">
99100
Single
100-
</FONT></TD>
101-
<TR BGCOLOR="white">
101+
</font></td>
102+
<tr bgcolor="white">
102103
<td align="right" valign="top" width="1%">
103-
<FONT SIZE="-1">
104+
<font size="-1">
104105
boolean
105-
</FONT></TD>
106-
<TD><B>ColorGameBean:hintTaken</B>
107-
<BR>
108-
</TD>
106+
</font></td>
107+
<td><b>ColorGameBean:hintTaken</b>
108+
<br>
109+
</td>
109110
<td width="1%">
110-
<FONT SIZE="-1">
111+
<font size="-1">
111112
Single
112-
</FONT></TD>
113-
</TABLE>
114-
<HR>
115-
</BODY>
116-
</HTML>
113+
</font></td>
114+
</table>
115+
<hr>
116+
</body>
117+
</html>

webapps/examples/jsp/error/error.html

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<html>
1+
<!DOCTYPE html>
2+
<html lang="en">
23
<!--
34
Licensed to the Apache Software Foundation (ASF) under one or more
45
contributor license agreements. See the NOTICE file distributed with
@@ -15,22 +16,28 @@
1516
See the License for the specific language governing permissions and
1617
limitations under the License.
1718
-->
19+
<head>
20+
<title>Errorpage directive example</title>
21+
<style>
22+
body {background-color: white;}
23+
</style>
24+
</head>
1825

19-
<body bgcolor="white">
26+
<body>
2027

2128
<h1> This example uses <b>errorpage</b> directive </h1>
2229
<br>
2330
<h3> Select my favourite car.</h3>
24-
<form method=get action=err.jsp>
31+
<form method="get" action="err.jsp">
2532
<!-- <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">
33+
<select name="name" size="5">
34+
<option value="integra"> Acura Integra </option>
35+
<option value="bmw328i"> BMW 328I </option>
36+
<option value="z3"> BMW Z3 </option>
37+
<option value="infiniti"> InfinitiQ3 </option>
38+
<option value="audi"> Audi A8 </option>
39+
</select>
40+
<br> <input type="submit" name="submit" value="Submit">
3441
</form>
3542

3643
</body>
Lines changed: 29 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,42 @@
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+
</head>
24+
<body bgcolor="white">
25+
<h2>
2526
sessions.DummyCart Bean Properties
26-
</H2>
27-
<HR>
28-
<DL>
29-
<DT>public class <B>DummyCart</B><DT>extends Object</DL>
27+
</h2>
28+
<hr>
29+
<dl>
30+
<dt>public class <b>DummyCart</b><dt>extends Object</dl>
3031

31-
<P>
32-
<HR>
32+
<p>
33+
<hr>
3334

34-
<P>
35+
<p>
3536

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">
37+
<table border="1" width="100%" cellpadding="3" cellspacing="0">
38+
<tr bgcolor="#EEEEFF">
39+
<td colspan=3><font size="+2">
40+
<b>Properties Summary</b></font></td>
41+
</tr>
42+
<tr bgcolor="white">
4243
<td align="right" valign="top" width="1%">
43-
<FONT SIZE="-1">
44+
<font size="-1">
4445
String
45-
</FONT></TD>
46-
<TD><B>DummyCart:items</B>
47-
<BR>
48-
</TD>
46+
</font></td>
47+
<td><b>DummyCart:items</b>
48+
<br>
49+
</td>
4950
<td width="1%">
50-
<FONT SIZE="-1">
51+
<font size="-1">
5152
Multi
52-
</FONT></TD>
53-
</TABLE>
54-
<HR>
55-
</BODY>
56-
</HTML>
53+
</font></td>
54+
</table>
55+
<hr>
56+
</body>
57+
</html>

0 commit comments

Comments
 (0)