SHARE
TWEET

Untitled

a guest Sep 17th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <%
  2.         int age = 21;
  3.         string name = "ali baba";
  4.         Response.Write("<p>Your name is: " + name + "</p>");
  5.         Response.Write("<p>Your age is: " + age + "</p>");
  6.  
  7.         string imageFilename = "sunset.jpg";
  8.         Response.Write("<img src='img/" + imageFilename + "' width='100' />");
  9.  
  10.         string imageFilename2 = "james-bond.jpg";
  11.         Response.Write("<br /><img src='img/" + imageFilename2 + "' width='100' />");
  12.  
  13.         string link = "https://www.utm.my";
  14.         Response.Write("<br /><p>Click <a href='" + link + "'>Me</a></p>");
  15.  
  16.         Student s = new Student();
  17.         s.Name = "John Wick";
  18.         s.Matriks = "A1234";
  19.  
  20.         Response.Write("<table border='1'>");
  21.         Response.Write("  <thead>");
  22.         Response.Write("    <tr>");
  23.         Response.Write("      <th>Name</th>");
  24.         Response.Write("        <th>Matriks</th>");
  25.         Response.Write("    </tr>");
  26.         Response.Write("  </thead>");
  27.         Response.Write("  <tbody>");
  28.         Response.Write("    <tr>");
  29.         Response.Write("      <td>" + s.Name + "</td>");
  30.         Response.Write("        <td>" + s.Matriks + "</td>");
  31.         Response.Write("    </tr>");
  32.         Response.Write("  </tbody>");
  33.         Response.Write("</table>");
  34.  
  35.  
  36.     %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top