Skip to content

Commit

Permalink
Use lowercase HTML tags and attributes. Add quotes around attributes.
Browse files Browse the repository at this point in the history
Fix some HTML errors. Use HTML5.
  • Loading branch information
jbampton committed Jul 6, 2020
1 parent 96b5ab3 commit 0b8fdf7
Show file tree
Hide file tree
Showing 32 changed files with 353 additions and 344 deletions.
30 changes: 15 additions & 15 deletions webapps/ROOT/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title><%=request.getServletContext().getServerInfo() %></title>
<link href="favicon.ico" rel="icon" type="image/x-icon" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="tomcat.css" rel="stylesheet" type="text/css" />
<link href="favicon.ico" rel="icon" type="image/x-icon">
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="tomcat.css" rel="stylesheet" type="text/css">
</head>

<body>
Expand All @@ -42,7 +42,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<span id="nav-wiki"><a href="https://wiki.apache.org/tomcat/FrontPage">Wiki</a></span>
<span id="nav-lists"><a href="${tomcatUrl}lists.html">Mailing Lists</a></span>
<span id="nav-help"><a href="${tomcatUrl}findhelp.html">Find Help</a></span>
<br class="separator" />
<br class="separator">
</div>
<div id="asf-box">
<h1>${pageContext.servletContext.serverInfo}</h1>
Expand All @@ -52,7 +52,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<h2>If you're seeing this, you've successfully installed Tomcat. Congratulations!</h2>
</div>
<div id="notice">
<img src="tomcat.png" alt="[tomcat logo]" />
<img src="tomcat.png" alt="[tomcat logo]">
<div id="tasks">
<h3>Recommended Reading:</h3>
<h4><a href="${tomcatDocUrl}security-howto.html">Security Considerations How-To</a></h4>
Expand All @@ -71,7 +71,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<a class="container shadow" href="/host-manager/html"><span>Host Manager</span></a>
</div>
</div>
<br class="separator" />
<br class="separator">
</div>
<div id="middle" class="curved container">
<h3>Developer Quick Start</h3>
Expand All @@ -98,7 +98,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<p><a href="https://wiki.apache.org/tomcat/TomcatVersions">Tomcat Versions</a></p>
</div>
</div>
<br class="separator" />
<br class="separator">
</div>
<div id="lower">
<div id="low-manage" class="">
Expand All @@ -109,7 +109,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<pre>$CATALINA_HOME/conf/tomcat-users.xml</pre>
<p>In Tomcat @VERSION_MAJOR_MINOR@ access to the manager application is split between
different users. &nbsp; <a href="${tomcatDocUrl}manager-howto.html">Read more...</a></p>
<br />
<br>
<h4><a href="${tomcatDocUrl}RELEASE-NOTES.txt">Release Notes</a></h4>
<h4><a href="${tomcatDocUrl}changelog.html">Changelog</a></h4>
<h4><a href="${tomcatUrl}migration.html">Migration Guide</a></h4>
Expand Down Expand Up @@ -138,22 +138,22 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<h4><a href="${tomcatUrl}faq/">FAQ</a> and <a href="${tomcatUrl}lists.html">Mailing Lists</a></h4>
<p>The following mailing lists are available:</p>
<ul>
<li id="list-announce"><strong><a href="${tomcatUrl}lists.html#tomcat-announce">tomcat-announce</a><br />
<li id="list-announce"><strong><a href="${tomcatUrl}lists.html#tomcat-announce">tomcat-announce</a><br>
Important announcements, releases, security vulnerability notifications. (Low volume).</strong>
</li>
<li><a href="${tomcatUrl}lists.html#tomcat-users">tomcat-users</a><br />
<li><a href="${tomcatUrl}lists.html#tomcat-users">tomcat-users</a><br>
User support and discussion
</li>
<li><a href="${tomcatUrl}lists.html#taglibs-user">taglibs-user</a><br />
<li><a href="${tomcatUrl}lists.html#taglibs-user">taglibs-user</a><br>
User support and discussion for <a href="${tomcatUrl}taglibs/">Apache Taglibs</a>
</li>
<li><a href="${tomcatUrl}lists.html#tomcat-dev">tomcat-dev</a><br />
<li><a href="${tomcatUrl}lists.html#tomcat-dev">tomcat-dev</a><br>
Development mailing list, including commit messages
</li>
</ul>
</div>
</div>
<br class="separator" />
<br class="separator">
</div>
<div id="footer" class="curved container">
<div class="col20">
Expand Down Expand Up @@ -211,7 +211,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
</ul>
</div>
</div>
<br class="separator" />
<br class="separator">
</div>
<p class="copyright">Copyright &copy;1999-${year} Apache Software Foundation. All Rights Reserved</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/annotationapi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title>API docs</title>
</head>

Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title>API docs</title>
</head>

Expand Down
8 changes: 4 additions & 4 deletions webapps/docs/appdev/sample/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="author" content="Ben Souther" />
<meta charset="UTF-8">
<meta name="author" content="Ben Souther">
<title>Sample Application</title>
</head>
<body>
Expand All @@ -34,7 +34,7 @@ <h2>Sample Application</h2>
will automatically expand and deploy the application for you. You can
view it with the following URL (assuming that you're running tomcat on
port 8080 which is the default):
<br />
<br>
<a href="http://localhost:8080/sample">http://localhost:8080/sample</a>
</p>
<p>
Expand Down
4 changes: 2 additions & 2 deletions webapps/docs/appdev/sample/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
-->
<html>
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title>Sample "Hello, World" Application</title>
</head>
<body>

<div style="float: left; padding: 10px;">
<img src="images/tomcat.gif" alt="" />
<img src="images/tomcat.gif" alt="">
</div>
<h1>Sample "Hello, World" Application</h1>
<p>This is the home page for a sample application used to illustrate the
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/elapi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title>API docs</title>
</head>

Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/jaspicapi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title>API docs</title>
</head>

Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/jspapi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title>API docs</title>
</head>

Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/servletapi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title>API docs</title>
</head>

Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/websocketapi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta charset="UTF-8">
<title>API docs</title>
</head>

Expand Down
14 changes: 7 additions & 7 deletions webapps/examples/jsp/cal/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@
-->

<head>
<title> Login page for the calendar. </title>
<title>Login page for the calendar.</title>
</head>

<body bgcolor="white">
<center>

<font size=7 color="red"> Please Enter the following information: </font>
<font size="7" color="red"> Please Enter the following information: </font>

<br>
<form method=GET action=cal1.jsp>
<form method="GET" action="cal1.jsp">

<font size=5> Name <input type=text name="name" size=20>
<font size="5"> Name <input type="text" name="name" size="20">
</font>
<br>
<font size=5> Email <input type=text name="email" size=20>
<font size="5"> Email <input type="text" name="email" size="20">
</font>
<br>
<input type=submit name=action value="Submit">
<input type="submit" name="action" value="Submit">

</form>
<hr>
<font size=3 color="red"> Note: This application does not implement the complete
<font size="3" color="red"> Note: This application does not implement the complete
functionality of a typical calendar application. It demonstrates a way JSP can
be used with html tables and forms.</font>

Expand Down
57 changes: 29 additions & 28 deletions webapps/examples/jsp/checkbox/CheckTest.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<HTML>
<html>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
Expand All @@ -16,41 +16,42 @@
limitations under the License.
-->

<HEAD>
<head>
<title>
checkbox.CheckTest Bean Properties
</title>
<BODY BGCOLOR="white">
<H2>
</head>
<body bgcolor="white">
<h2>
checkbox.CheckTest Bean Properties
</H2>
<HR>
<DL>
<DT>public class <B>CheckTest</B><DT>extends Object</DL>
</h2>
<hr>
<dl>
<dt>public class <b>CheckTest</b><dt>extends Object</dl>

<P>
<HR>
<p>
<hr>

<P>
<p>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0">
<TR BGCOLOR="#EEEEFF">
<TD COLSPAN=3><FONT SIZE="+2">
<B>Properties Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white">
<table border="1" width="100%" cellpadding="3" cellspacing="0">
<tr bgcolor="#eeeeff">
<td colspan="3"><font size="+2">
<b>Properties Summary</b></font></td>
</tr>
<tr bgcolor="white">
<td align="right" valign="top" width="1%">
<FONT SIZE="-1">
<font size="-1">
String
</FONT></TD>
<TD><B>CheckTest:fruit</B>
<BR>
</TD>
</font></td>
<td><b>CheckTest:fruit</b>
<br>
</td>
<td width="1%">
<FONT SIZE="-1">
<font size="-1">
Multi
</FONT></TD>
</TABLE>
<HR>
</BODY>
</HTML>
</font></td>
</table>
<hr>
</body>
</html>
28 changes: 13 additions & 15 deletions webapps/examples/jsp/checkbox/check.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<HTML>
<html>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
Expand All @@ -16,23 +16,21 @@
limitations under the License.
-->

<BODY bgcolor="white">
<body bgcolor="white">


<FORM TYPE=POST ACTION=checkresult.jsp>
<BR>
<font size=5 color="red">
<form method="POST" action="checkresult.jsp">
<br>
<font size="5" color="red">
Check all Favorite fruits: <br>

<input TYPE=checkbox name=fruit VALUE=apples> Apples <BR>
<input TYPE=checkbox name=fruit VALUE=grapes> Grapes <BR>
<input TYPE=checkbox name=fruit VALUE=oranges> Oranges <BR>
<input TYPE=checkbox name=fruit VALUE=melons> Melons <BR>

<input type="checkbox" name="fruit" value="apples"> Apples <br>
<input type="checkbox" name="fruit" value="grapes"> Grapes <br>
<input type="checkbox" name="fruit" value="oranges"> Oranges <br>
<input type="checkbox" name="fruit" value="melons"> Melons <br>

<br> <INPUT TYPE=submit name=submit Value="Submit">
<br> <input type="submit" name="submit" value="Submit">

</font>
</FORM>
</BODY>
</HTML>
</form>
</body>
</html>
Loading

0 comments on commit 0b8fdf7

Please sign in to comment.