/parser/htmlparser/tests/html/xmp005.html
http://github.com/zpao/v8monkey · HTML · 48 lines · 46 code · 2 blank · 0 comment · 0 complexity · a1bc45ecc6f3f6702d076cf830682b8e MD5 · raw file
- <html>
- <body>
- use a XMP tag for C or JAVA source code.
- <br> The lt and gt signes are problematic.
- <XMP>
- cc = 123;
- // test lt
- if( cc < hhh ) {
- if(cc<xxx || as > gh) {
- //do womthing here;
- }
- }
- if( cc <= iii ) {
- if(cc<=yyy) {
- //do womthing here;
- }
- }
- // test gt
- if( cc > rrr ) {
- if(cc>eee) {
- //do womthing here;
- }
- }
- if( cc >= www ) {
- if(cc>=qqq) {
- //do womthing here;
- }
- }
- // what if the variable name is a valid tag name.
- if( cc < B && cc > kk ) {
- if(cc<B && cc > gg) {
- //do womthing here;
- }
- }
- cc = aa<<I;
- cc = B>>3;
- gt = true;
- for(a=0,gt=true; (a>0)&> a++) {
- }
- a = 0x0004;
- lt = 0x0002;
- for(; a< ) {
- }
- </XMP>
- </body>
- </html>