<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>登录页面</title>
<style>
.div{
font-size: 12px;
}
.red1{
width: 500px;
border: 5px solid #ccc;
background-color: red;
}
.green1{
width: 300px;
border: 1px solid black;
background-color: greenyellow;
}
</style>
<script>
window.onload = function () {
var plus = document.getElementById("plus");
var minus = document.getElementById("minus");
var div2 = document.getElementById("div2");
var red = document.getElementById("red");
var green = document.getElementById("green");
var num = 12;
plus.onclick = function () {
num = num +2;
div2.style.fontSize = num +"px";
}
minus.onclick = function () {
num = num -2;
div2.style.fontSize = num+"px";
}
red.onclick = function () {
div2.className = "red1"
}
green.onclick = function () {
div2.className = "green1";
}
}
</script>
</head>
<body>
<!-- <div class="div1">div1</div> -->
<input type="button" name="" id="plus" value="+">
<input type="button" name="" id="minus" value="-">
<input type="button" name="" id="red" value="红">
<input type="button" name="" id="green" value="绿">
<div id="div2" class="div2">Tomcat/7.0.88 If you're seeing this, you've successfully installed Tomcat. Congratulations! [tomcat logo] Recommended
Reading: Security Considerations HOW-TO Manager Application HOW-TO Clustering/Session Replication HOW-TO Server Status Manager
App Host Manager Developer Quick Start Tomcat Setup First Web Application Realms & AAA JDBC DataSources Examples Servlet
Specifications Tomcat Versions Managing Tomcat For security, access to the manager webapp is restricted. Users are defined
in: $CATALINA_HOME/conf/tomcat-users.xml In Tomcat 7.0 access to the manager application is split between different users.
Read more... Release Notes Changelog Migration Guide Security Notices Documentation Tomcat 7.0 Documentation Tomcat 7.0 Configuration
Tomcat Wiki Find additional important configuration information in: $CATALINA_HOME/RUNNING.txt Developers may be interested
in: Tomcat 7.0 Bug Database Tomcat 7.0 JavaDocs Tomcat 7.0 SVN Repository Getting Help FAQ and Mailing Lists The following
mailing lists are available: tomcat-announce Important announcements, releases, security vulnerability notifications. (Low
volume). tomcat-users User support and discussion taglibs-user User support and discussion for Apache Taglibs tomcat-dev
Development mailing list, including commit messagesTomcat/7.0.88 If you're seeing this, you've successfully installed Tomcat. Congratulations! [tomcat logo] Recommended Reading:
Security Considerations HOW-TO Manager Application HOW-TO Clustering/Session Replication HOW-TO Server Status Manager App
Host Manager Developer Quick Start Tomcat Setup First Web Application Realms & AAA JDBC DataSources Examples Servlet Specifications
Tomcat Versions Managing Tomcat For security, access to the manager webapp is restricted. Users are defined in: $CATALINA_HOME/conf/tomcat-users.xml
In Tomcat 7.0 access to the manager application is split between different users. Read more... Release Notes Changelog Migration
Guide Security Notices Documentation Tomcat 7.0 Documentation Tomcat 7.0 Configuration Tomcat Wiki Find additional important
configuration information in: $CATALINA_HOME/RUNNING.txt Developers may be interested in: Tomcat 7.0 Bug Database Tomcat
7.0 JavaDocs Tomcat 7.0 SVN Repository Getting Help FAQ and Mailing Lists The following mailing lists are available: tomcat-announce
Important announcements, releases, security vulnerability notifications. (Low volume). tomcat-users User support and discussion
taglibs-user User support and discussion for Apache Taglibs tomcat-dev Development mailing list, including commit messagesTomcat/7.0.88 If you're seeing this, you've successfully installed Tomcat. Congratulations! [tomcat logo] Recommended Reading:
Security Considerations HOW-TO Manager Application HOW-TO Clustering/Session Replication HOW-TO Server Status Manager App
Host Manager Developer Quick Start Tomcat Setup First Web Application Realms & AAA JDBC DataSources Examples Servlet Specifications
Tomcat Versions Managing Tomcat For security, access to the manager webapp is restricted. Users are defined in: $CATALINA_HOME/conf/tomcat-users.xml
In Tomcat 7.0 access to the manager application is split between different users. Read more... Release Notes Changelog Migration
Guide Security Notices Documentation Tomcat 7.0 Documentation Tomcat 7.0 Configuration Tomcat Wiki Find additional important
configuration information in: $CATALINA_HOME/RUNNING.txt Developers may be interested in: Tomcat 7.0 Bug Database Tomcat
7.0 JavaDocs Tomcat 7.0 SVN Repository Getting Help FAQ and Mailing Lists The following mailing lists are available: tomcat-announce
Important announcements, releases, security vulnerability notifications. (Low volume). tomcat-users User support and discussion
taglibs-user User support and discussion for Apache Taglibs tomcat-dev Development mailing list, including commit messagesTomcat/7.0.88 If you're seeing this, you've successfully installed Tomcat. Congratulations! [tomcat logo] Recommended Reading:
Security Considerations HOW-TO Manager Application HOW-TO Clustering/Session Replication HOW-TO Server Status Manager App
Host Manager Developer Quick Start Tomcat Setup First Web Application Realms & AAA JDBC DataSources Examples Servlet Specifications
Tomcat Versions Managing Tomcat For security, access to the manager webapp is restricted. Users are defined in: $CATALINA_HOME/conf/tomcat-users.xml
In Tomcat 7.0 access to the manager application is split between different users. Read more... Release Notes Changelog Migration
Guide Security Notices Documentation Tomcat 7.0 Documentation Tomcat 7.0 Configuration Tomcat Wiki Find additional important
configuration information in: $CATALINA_HOME/RUNNING.txt Developers may be interested in: Tomcat 7.0 Bug Database Tomcat
7.0 JavaDocs Tomcat 7.0 SVN Repository Getting Help FAQ and Mailing Lists The following mailing lists are available: tomcat-announce
Important announcements, releases, security vulnerability notifications. (Low volume). tomcat-users User support and discussion
taglibs-user User support and discussion for Apache Taglibs tomcat-dev Development mailing list, including commit messagesTomcat/7.0.88 If you're seeing this, you've successfully installed Tomcat. Congratulations! [tomcat logo] Recommended Reading:
Security Considerations HOW-TO Manager Application HOW-TO Clustering/Session Replication HOW-TO Server Status Manager App
Host Manager Developer Quick Start Tomcat Setup First Web Application Realms & AAA JDBC DataSources Examples Servlet Specifications
Tomcat Versions Managing Tomcat For security, access to the manager webapp is restricted. Users are defined in: $CATALINA_HOME/conf/tomcat-users.xml
In Tomcat 7.0 access to the manager application is split between different users. Read more... Release Notes Changelog Migration
Guide Security Notices Documentation Tomcat 7.0 Documentation Tomcat 7.0 Configuration Tomcat Wiki Find additional important
configuration information in: $CATALINA_HOME/RUNNING.txt Developers may be interested in: Tomcat 7.0 Bug Database Tomcat
7.0