HTML, CSS, and JavaScript Test (Message Body)

0 views
Skip to first unread message

Tomi Häsä

unread,
Mar 10, 2007, 3:29:23 PM3/10/07
to GG Test
The HTML source (containing CSS and JavaScript) has been copy-pasted
to the body of this message:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>HTML, CSS, and JavaScript Test</title>
<META content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
</head>

<body bgcolor="#ffffff" text="#000000">

<center><h1>HTML, CSS, and JavaScript Test</h1></center>
<p>&nbsp;<br></p>
<p>&nbsp;<br></p>

<p><b>CSS test:</b></p>

<p>&nbsp;<br></p>

<p style="border-style: dashed; margin-left: 2cm; margin-right: 2cm;
padding: 1.5cm; font-style: oblique; background-color: yellow;"><span
style="cursor:pointer">A paragraph with a dashed border, 2 cm left and
right margins, 1.5 cm padding, oblique text, and a yellow background
(move the mouse over this paragraph, and the mouse cursor will change
to a hand).</span></p>

<p>&nbsp;<br></p>

<p><b>JavaScript test:</b></p>

<p>&nbsp;<br></p>

<center>
<table border=1 cellpadding=1 cellspacing=1>
<tr align="left" valign="top">
<td>
<pre>

<script type="text/javascript">
var x = navigator
document.write(" Name = " + x.appName)
document.write(" <br />")
document.write(" UA = " + x.userAgent)
document.write(" <br />")
document.write(" BrowserLanguage = " + x.browserLanguage)
document.write(" <br />")
document.write(" SystemLanguage = " + x.systemLanguage)
document.write(" <br />")
document.write(" UserLanguage = " + x.userLanguage)
document.write(" <br />")
document.write(" CPUClass = " + x.cpuClass)
document.write(" <br />")
document.write(" Platform = " + x.platform)
</script>
</pre>
</td>
</tr></table>
</center>

<p>&nbsp;</p><br>
<p>&nbsp;</p><br>

</body>
</html>

Reply all
Reply to author
Forward
0 new messages