Course Solutions Uncategorized (Solved) : Exrcise Learn Include Files Cssfile Body Font Family Arial Helvetica Sans Serif Section Wi Q31129871 . . . .

(Solved) : Exrcise Learn Include Files Cssfile Body Font Family Arial Helvetica Sans Serif Section Wi Q31129871 . . . .

 

This is an exrcise to learn how to include files

css.file

body {

font-family: Arial, Helvetica, sans-serif;

}

section {

width: 450px;

margin: 0 auto;

padding: 20px 20px;

background: white;

border: 2px solid navy;

}

h1 {

color: navy;

}

label {

width: 10em;

padding-right: 1em;

float: left;

}

input[type=”text”] { /* An attribute selector */

float: left;

width: 15em;

margin-bottom: .5em;

}

input[type=”submit”] { /* An attribute selector */

float: left;

margin-bottom: .5em;

}

br {

clear: left;

}

.error {

color: red;

font-weight: bold;

}

footer.jsp

<section>

&copy; 2014, Mike Murach and Associates

</section>

</body>

</html>

header.jsp

e>Murach’s Java Servlets and JSP</title>

<link rel=”stylesheet” href=”styles/main.css”>

</head>

<body>

index.html

<%@page contentType=”text/html” pageEncoding=”utf-8″%>

<!DOCTYPE html>

<html>

<head>

<meta charset=”utf-8″>

<title>Murach’s Java Servlets and JSP</title>

<link rel=”stylesheet” href=”styles/main.css”>

</head>

<body>

<section>

<h1>Future Value Calculator</h1>

<p><i>${message}</i></p>

<form action=”calculate” method=”post”>

<label>Investment Amount:</label>

<input type=”text” name=”investment”

value=”${calculation.monthlyInvestmentAmount}”/><br>

<label>Yearly Interest Rate:</label>

<input type=”text” name=”interest_rate”

value=”${calculation.yearlyInterestRate}”/><br>

<label>Number of Years:</label>

<input type=”text” name=”years”

value=”${calculation.years}”/><br>

<label>&nbsp;</label>

<input type=”submit” value=”Calculate”/><br>

</form>

</section>

result.jsp

v<%@page contentType=”text/html”pageEncoding=”utf-8″%>

<!DOCTYPE html>

<html>

<head>

<meta charset=”utf-8″>

<title>Murach’s Java Servlets and JSP</title>

<link rel=”stylesheet” href=”styles/main.css”>

</head>

<body>

<section>

<h1>Future Value

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : 7 Suppose Would Like Urgently Deliver 40 Terabytes 1 Terabyte 10 Bytes Data Boston Los Ang Q34867845 . . . .(Solved) : 7 Suppose Would Like Urgently Deliver 40 Terabytes 1 Terabyte 10 Bytes Data Boston Los Ang Q34867845 . . . .

<p><img alt="7. Suppose you would like to urgently deliver 40 terabytes (1 terabyte -10 bytes) data from Boston to Los Angeles. You have a" src="https://media.cheggcdn.com/media%2F95c%2F95c7aa65-396e-4b5a-a42d-19c6563f8e44%2FphpWPeEOK.png" style="height:129px;width:678px;" aria-describedby="d3f"/></p>7. Suppose you would