Template:Mycode.java

From Marks Wiki
Jump to navigation Jump to search

<html>

 <head>
 <title>CSS Testing</title>

<style type="text/css"> mytag { color: red; }

table { }

td { color: #121212; background: #D0D0D0; }

td.line_num { color: white; background: gray; }

clang { }

clang.keyword { color: blue; font-style: bold; }

source { color: red; }

source.java { color: blue; } </style>

 </head>
 
 <body>
 <mytag>hello</mytag>
   my body
void arraylist_init( ArrayList *alist ) {
	alist->arr = 0;
	alist->length = 0;
	alist->capacity = 0;
}
	
1 <clang class="keyword">void</clang> arraylist_init( ArrayList *alist ) {
2     alist->arr = 0;
3     alist->length = 0;
4     alist->capacity = 0;
5 }
<source class="java">
class Java {
	private int myname;
}
</souce>
<source>
extern int c;
</source>
 </body>

</html>