Closed zhamri closed 6 years ago
<%-- Document : index Created on : Nov 21, 2017, 5:17:28 PM Author : thiviya --%>
<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html>
put your screenshot at the bottom
CODE : <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%--
Document : index
Created on : 2017-11-21, 18:52:33
Author : Aman
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Issue #1 Hello World</title>
</head>
<body>
<div>Hello World</div>
<div>STIW2024 Software Engineering</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Hello World </title>
</head>
<body>
<left>
<h1 style="color:blue;">Hello World</h1>
<h3 style="color:red;">STIW2024 Software Engineering</h3>
</left>
</body>
</html>
good reference
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<font size="10" color="red"><%="Hello World" %></font>
<br>
<font size="20" color="blue"><%="STIW2024 Software Engineering" %></font>
<body bgcolor="green">
</body>
</html>
Write a program using
JSP
to display the following output: