So, this is the case:
I have to make that my java programe displays the html code i got. So that when i type to command line: java Piramid > Piramid.html it opens my browser and displays the piramyd;
Here is the html code:
<!DOCTYPE HTML SYSTEM>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Piramida</title>
<style type="text/css">
.skupno { width: 50px; height: 50px; }
.ozadje { background-color: white; }
.barva1 { background-color: red; }
.barva2 { background-color: lime; }
.barva3 { background-color: blue; }
</style>
</head>
<body>
<table style="background-color: black">
<tr>
<td class="skupno ozadje"></td>
<td class="skupno ozadje"></td>
<td class="skupno barva1"></td>
<td class="skupno ozadje"></td>
<td class="skupno ozadje"></td>
</tr>
<tr>
<td class="skupno ozadje"></td>
<td class="skupno barva1"></td>
<td class="skupno barva2"></td>
<td class="skupno barva3"></td>
<td class="skupno ozadje"></td>
</tr>
<tr>
<td class="skupno barva1"></td>
<td class="skupno barva2"></td>
<td class="skupno barva3"></td>
<td class="skupno barva1"></td>
<td class="skupno barva2"></td>
</tr>
</table>
</body>
</html>
So any help with this, please?






