Skip to content

Commit 6bcb3e2

Browse files
committed
Use lowercase HTML tags and attributes. Add quotes around attributes.
Fix some HTML errors. Use HTML5. Indent HTML and JSP. Remove whitespace.
1 parent 96b5ab3 commit 6bcb3e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+635
-583
lines changed

webapps/ROOT/index.jsp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
2525
<!DOCTYPE html>
2626
<html lang="en">
2727
<head>
28-
<meta charset="UTF-8" />
28+
<meta charset="UTF-8">
2929
<title><%=request.getServletContext().getServerInfo() %></title>
30-
<link href="favicon.ico" rel="icon" type="image/x-icon" />
31-
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
32-
<link href="tomcat.css" rel="stylesheet" type="text/css" />
30+
<link href="favicon.ico" rel="icon" type="image/x-icon">
31+
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
32+
<link href="tomcat.css" rel="stylesheet" type="text/css">
3333
</head>
3434

3535
<body>
@@ -42,7 +42,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
4242
<span id="nav-wiki"><a href="https://wiki.apache.org/tomcat/FrontPage">Wiki</a></span>
4343
<span id="nav-lists"><a href="${tomcatUrl}lists.html">Mailing Lists</a></span>
4444
<span id="nav-help"><a href="${tomcatUrl}findhelp.html">Find Help</a></span>
45-
<br class="separator" />
45+
<br class="separator">
4646
</div>
4747
<div id="asf-box">
4848
<h1>${pageContext.servletContext.serverInfo}</h1>
@@ -52,7 +52,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
5252
<h2>If you're seeing this, you've successfully installed Tomcat. Congratulations!</h2>
5353
</div>
5454
<div id="notice">
55-
<img src="tomcat.png" alt="[tomcat logo]" />
55+
<img src="tomcat.png" alt="[tomcat logo]">
5656
<div id="tasks">
5757
<h3>Recommended Reading:</h3>
5858
<h4><a href="${tomcatDocUrl}security-howto.html">Security Considerations How-To</a></h4>
@@ -71,7 +71,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
7171
<a class="container shadow" href="/host-manager/html"><span>Host Manager</span></a>
7272
</div>
7373
</div>
74-
<br class="separator" />
74+
<br class="separator">
7575
</div>
7676
<div id="middle" class="curved container">
7777
<h3>Developer Quick Start</h3>
@@ -98,7 +98,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
9898
<p><a href="https://wiki.apache.org/tomcat/TomcatVersions">Tomcat Versions</a></p>
9999
</div>
100100
</div>
101-
<br class="separator" />
101+
<br class="separator">
102102
</div>
103103
<div id="lower">
104104
<div id="low-manage" class="">
@@ -109,7 +109,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
109109
<pre>$CATALINA_HOME/conf/tomcat-users.xml</pre>
110110
<p>In Tomcat @VERSION_MAJOR_MINOR@ access to the manager application is split between
111111
different users. &nbsp; <a href="${tomcatDocUrl}manager-howto.html">Read more...</a></p>
112-
<br />
112+
<br>
113113
<h4><a href="${tomcatDocUrl}RELEASE-NOTES.txt">Release Notes</a></h4>
114114
<h4><a href="${tomcatDocUrl}changelog.html">Changelog</a></h4>
115115
<h4><a href="${tomcatUrl}migration.html">Migration Guide</a></h4>
@@ -138,22 +138,22 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
138138
<h4><a href="${tomcatUrl}faq/">FAQ</a> and <a href="${tomcatUrl}lists.html">Mailing Lists</a></h4>
139139
<p>The following mailing lists are available:</p>
140140
<ul>
141-
<li id="list-announce"><strong><a href="${tomcatUrl}lists.html#tomcat-announce">tomcat-announce</a><br />
141+
<li id="list-announce"><strong><a href="${tomcatUrl}lists.html#tomcat-announce">tomcat-announce</a><br>
142142
Important announcements, releases, security vulnerability notifications. (Low volume).</strong>
143143
</li>
144-
<li><a href="${tomcatUrl}lists.html#tomcat-users">tomcat-users</a><br />
144+
<li><a href="${tomcatUrl}lists.html#tomcat-users">tomcat-users</a><br>
145145
User support and discussion
146146
</li>
147-
<li><a href="${tomcatUrl}lists.html#taglibs-user">taglibs-user</a><br />
147+
<li><a href="${tomcatUrl}lists.html#taglibs-user">taglibs-user</a><br>
148148
User support and discussion for <a href="${tomcatUrl}taglibs/">Apache Taglibs</a>
149149
</li>
150-
<li><a href="${tomcatUrl}lists.html#tomcat-dev">tomcat-dev</a><br />
150+
<li><a href="${tomcatUrl}lists.html#tomcat-dev">tomcat-dev</a><br>
151151
Development mailing list, including commit messages
152152
</li>
153153
</ul>
154154
</div>
155155
</div>
156-
<br class="separator" />
156+
<br class="separator">
157157
</div>
158158
<div id="footer" class="curved container">
159159
<div class="col20">
@@ -211,7 +211,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
211211
</ul>
212212
</div>
213213
</div>
214-
<br class="separator" />
214+
<br class="separator">
215215
</div>
216216
<p class="copyright">Copyright &copy;1999-${year} Apache Software Foundation. All Rights Reserved</p>
217217
</div>

webapps/docs/annotationapi/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!DOCTYPE html>
1818
<html>
1919
<head>
20-
<meta charset="UTF-8" />
20+
<meta charset="UTF-8">
2121
<title>API docs</title>
2222
</head>
2323

webapps/docs/api/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!DOCTYPE html>
1818
<html>
1919
<head>
20-
<meta charset="UTF-8" />
20+
<meta charset="UTF-8">
2121
<title>API docs</title>
2222
</head>
2323

webapps/docs/appdev/sample/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<html>
18+
<html lang="en">
1919
<head>
20-
<meta charset="UTF-8" />
21-
<meta name="author" content="Ben Souther" />
20+
<meta charset="UTF-8">
21+
<meta name="author" content="Ben Souther">
2222
<title>Sample Application</title>
2323
</head>
2424
<body>
@@ -34,7 +34,7 @@ <h2>Sample Application</h2>
3434
will automatically expand and deploy the application for you. You can
3535
view it with the following URL (assuming that you're running tomcat on
3636
port 8080 which is the default):
37-
<br />
37+
<br>
3838
<a href="http://localhost:8080/sample">http://localhost:8080/sample</a>
3939
</p>
4040
<p>

webapps/docs/appdev/sample/web/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
-->
1717
<html>
1818
<head>
19-
<meta charset="UTF-8" />
19+
<meta charset="UTF-8">
2020
<title>Sample "Hello, World" Application</title>
2121
</head>
2222
<body>
2323

2424
<div style="float: left; padding: 10px;">
25-
<img src="images/tomcat.gif" alt="" />
25+
<img src="images/tomcat.gif" alt="">
2626
</div>
2727
<h1>Sample "Hello, World" Application</h1>
2828
<p>This is the home page for a sample application used to illustrate the

webapps/docs/elapi/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!DOCTYPE html>
1818
<html>
1919
<head>
20-
<meta charset="UTF-8" />
20+
<meta charset="UTF-8">
2121
<title>API docs</title>
2222
</head>
2323

webapps/docs/jaspicapi/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!DOCTYPE html>
1818
<html>
1919
<head>
20-
<meta charset="UTF-8" />
20+
<meta charset="UTF-8">
2121
<title>API docs</title>
2222
</head>
2323

webapps/docs/jspapi/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!DOCTYPE html>
1818
<html>
1919
<head>
20-
<meta charset="UTF-8" />
20+
<meta charset="UTF-8">
2121
<title>API docs</title>
2222
</head>
2323

webapps/docs/servletapi/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!DOCTYPE html>
1818
<html>
1919
<head>
20-
<meta charset="UTF-8" />
20+
<meta charset="UTF-8">
2121
<title>API docs</title>
2222
</head>
2323

webapps/docs/websocketapi/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!DOCTYPE html>
1818
<html>
1919
<head>
20-
<meta charset="UTF-8" />
20+
<meta charset="UTF-8">
2121
<title>API docs</title>
2222
</head>
2323

0 commit comments

Comments
 (0)