菜鸟学堂
在线运行
源代码
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="/try/showrazor.css"> </head> <body> <span class="marked">@{var price=20;}<br></span><html><br><body><br> <span class="marked">@if (price>30)<br> {<br> <p>The price is too high.</p><br> }<br> else<br> { <br> <p>The price is OK.</p><br> }</span><br></body><br></html><br> </body> </html>
运行结果
在线运行
菜鸟学堂 edu.jb51.net