Newer
Older
tomohiro-jouhoua / main.rb.html
#!/usr/bin/env ruby
# coding: utf-8

require 'cgi'
c = CGI.new(:accept_charset => "UTF-8")
print "Content-type: text/html; charset=UTF-8\n\n"

name = c ["name"]

print <<EDF
<!DOCTYPE html>
<html>
<head> 
<title>
メニュー表
</title>
<style>
h1{
background-color: pink;
color:white;
}
</style>
</head>
<body>
<h1>メニュー表</h1>