#!/usr/bin/ruby

require "cgi"
cgi = CGI.new("html4")
cgi.out{
  cgi.html{
    cgi.head{ "\n"+cgi.title{"Test Ruby Page"} } +
    cgi.body{ "\n"+
      cgi.h1 { "Test Ruby H1" } + "\n"+
      cgi.p { "Test Ruby Paragraph." }
    }
  }
}