fork download
  1.  
  2. <html>
  3. <head>
  4. <title>中国茶カフェ</title>
  5. <style>
  6. body {
  7. background-color: #ffc107;
  8. font-family: 'arial';
  9. font-size: 14px;
  10. }
  11. h1 {
  12. font-size: 22px;
  13. font-weight: bold;
  14. color: #f8f9fa;
  15. }
  16. p {
  17. font-size: 16px;
  18. color: #ffc107;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <h1>中国茶カフェ</h1>
  24. <p>私たちの中国茶カフェでは、新鮮な中国茶のみを使用して、香り高い茶を提供しています。</p>
  25. <?php
  26. $tea_categories = ["黄茶", "紅茶", "烏龍茶", "花茶", "茶葉茶"];
  27. echo "<ul>";
  28. foreach ($tea_categories as $tea_category)
  29. {
  30. echo "<li>".$tea_category."</li>";
  31. }
  32. echo "</ul>";
  33. ?>
  34. </body>
  35. </html>
Success #stdin #stdout 0.02s 23804KB
stdin
Standard input is empty
stdout
<html>
<head>
  <title>中国茶カフェ</title>
  <style>
    body {
      background-color: #ffc107;
      font-family: 'arial';
      font-size: 14px;
    }
    h1 {
      font-size: 22px;
      font-weight: bold;
      color: #f8f9fa;
    }
    p {
      font-size: 16px;
      color: #ffc107;
    }
  </style>
</head>
<body>
  <h1>中国茶カフェ</h1>
  <p>私たちの中国茶カフェでは、新鮮な中国茶のみを使用して、香り高い茶を提供しています。</p>
  <ul><li>黄茶</li><li>紅茶</li><li>烏龍茶</li><li>花茶</li><li>茶葉茶</li></ul></body>
</html>