Html Tags
Catherine Litten
catherine.litten@valleypres.org
Thu, 5 Apr 2001 15:37:36 -0700
Here is our use file for Html Tags:
[DATA.ALTA0]:%print html.y2ku
;############################################################
; VALLEY PRESBYTERIAN HOSPITAL
; USE FILE HEADER
;
; SOURCE NAME : HTML.Y2KU
;
; FILES ACCESSED : NONE
;
; ELEMENTS ACCESSED : MUST DEFINE THE FOLLOWING INFO
; (size to fit max 65) H-TITLE -title of the document
; (size to fit max 40) H-KEY - key words - doc description
; (size 6) H-BG-COLOR - background color
; " H-COLOR - default font color
; " H-LINK - color of hyperlink
; " H-VLINK - color of visited link
; (size to fit max 25) BODY-FONT -font for body type
; (size to fit max 2) SIZE - font size for body
; (size 6) COLOR - font color for body
; (size to fit max 25) STYLE - normal, italic, oblique
; " WEIGHT - normal, bold, bolder, lighter
; " ALIGN - left, right, center
; H1-(replaces the word body for 1st header)
; H2-(replaces the word body for 2nd header)
; H3-(replaces the word body for 2nd header)
;
; Colors - RED(FF0000), BLUE(0000FF), GREEN(008000), WHITE(FFFFFF),
; BLACK(000000), YELLOW(FFFF80), ORANGE(FF8000),
; NAVY(000080), LIME GREEN(80FF80), HOT PINK(FF00FF),
; PURPLE(8000FF), MAROON(800000), OLIVE(808000),
; LAVENDAR(8080FF), PINK(FF80FF), AQUA(80FFFF)
;
; Standard Fonts - ARIAL, VERDANA, COURIER, HELVETIC, TIMES ROMAN,
; COMIC SANS MS, NEW CENTURY SCHOOLBOOK, ARIAL NARROW
; (CHECK YOUR PC)
;
; PROGRAM DESCRIPTION : DEFINIATIONS FOR HTML REPORTS
;
; PROGRAMMER : CATHERINE L. LITTEN
;
; DATE ENTERED PRODUCTION : 2000/07/03
;
;############################################################
set page width 256
define FONT-H1 char*50 = "font-family: " + H1-FONT + ";" &
if H1-FONT > " " else H1-FONT
define SIZE-H1 char*50 = "font-size: " + H1-SIZE + "pt;" &
if H1-SIZE > " " else H1-SIZE
define COLOR-H1 char*50 = "color: #" + H1-COLOR + ";" &
if H1-COLOR > " " else H1-COLOR
define STYLE-H1 char*50 = "font-style: " + H1-STYLE + ";" &
if H1-STYLE > " " else H1-STYLE
define WEIGHT-H1 char*50 = "font-weight: #" + H1-WEIGHT + ";" &
if H1-WEIGHT > " " else H1-WEIGHT
define ALIGN-H1 char*50 = "text-align: " + H1-ALIGN + ";" &
if H1-ALIGN > " " else H1-ALIGN
define FONT-H2 char*50 = "font-family: " + H2-FONT + ";" &
if H2-FONT > " " else H2-FONT
define SIZE-H2 char*50 = "font-size: " + H2-SIZE + "pt;" &
if H2-SIZE > " " else H2-SIZE
define COLOR-H2 char*50 = "color: #" + H2-COLOR + ";" &
if H2-COLOR > " " else H2-COLOR
define STYLE-H2 char*50 = "font-style: " + H2-STYLE + ";" &
if H2-STYLE > " " else H2-STYLE
define WEIGHT-H2 char*50 = "font-weight: #" + H2-WEIGHT + ";" &
if H2-WEIGHT > " " else H2-WEIGHT
define ALIGN-H2 char*50 = "text-align: " + H2-ALIGN + ";" &
if H2-ALIGN > " " else H2-ALIGN
define FONT-H3 char*50 = "font-family: " + H3-FONT + ";" &
if H3-FONT > " " else H3-FONT
define SIZE-H3 char*50 = "font-size: " + H3-SIZE + "pt;" &
if H3-SIZE > " " else H3-SIZE
define COLOR-H3 char*50 = "color: #" + H3-COLOR + ";" &
if H3-COLOR > " " else H3-COLOR
define STYLE-H3 char*50 = "font-style: " + H3-STYLE + ";" &
if H3-STYLE > " " else H3-STYLE
define WEIGHT-H3 char*50 = "font-weight: #" + H3-WEIGHT + ";" &
if H3-WEIGHT > " " else H3-WEIGHT
define ALIGN-H3 char*50 = "text-align: " + H3-ALIGN + ";" &
if H3-ALIGN > " " else H3-ALIGN
define FONT-BODY char*50 = "font-family: " + BODY-FONT + ";" &
if BODY-FONT > " " else BODY-FONT
define SIZE-BODY char*50 = "font-size: " + BODY-SIZE + "pt;" &
if BODY-SIZE > " " else BODY-SIZE
define COLOR-BODY char*50 = "color: #" + BODY-COLOR + ";" &
if BODY-COLOR > " " else BODY-COLOR
define STYLE-BODY char*50 = "font-style: " + BODY-STYLE + ";" &
if BODY-STYLE > " " else BODY-STYLE
define WEIGHT-BODY char*50 = "font-weight: #" + BODY-WEIGHT + ";" &
if BODY-WEIGHT > " " else BODY-WEIGHT
define ALIGN-BODY char*50 = "text-align: " + BODY-ALIGN + ";" &
if BODY-ALIGN > " " else BODY-ALIGN
set noblanks
set page length 0
set report spacing 0
initial heading &
tab 001 "<html>" skip 1 &
tab 001 "<head>" skip 1 &
tab 001 '<meta http-equiv="KEYWORDS" content="' H-KEY '">' skip 1 &
tab 001 '<meta name="GENERATOR" content="Powerhouse Quiz">' skip 1 &
tab 001 "<style>" skip 1 &
tab 001 "<!--" skip 1 &
tab 001 "H1 {" skip 1 &
tab 007 FONT-H1 skip 1 &
tab 007 SIZE-H1 skip 1 &
tab 007 ALIGN-H1 skip 1 &
tab 007 WEIGHT-H1 skip 1 &
tab 007 COLOR-H1 skip 1 &
tab 007 STYLE-H1 skip 1 &
tab 007 "}" skip 1 &
tab 001 "H2 {" skip 1 &
tab 007 FONT-H2 skip 1 &
tab 007 SIZE-H2 skip 1 &
tab 007 ALIGN-H2 skip 1 &
tab 007 WEIGHT-H2 skip 1 &
tab 007 COLOR-H2 skip 1 &
tab 007 STYLE-H2 skip 1 &
tab 007 "}" skip 1 &
tab 001 "H3 {" skip 1 &
tab 007 FONT-H3 skip 1 &
tab 007 SIZE-H3 skip 1 &
tab 007 ALIGN-H3 skip 1 &
tab 007 WEIGHT-H3 skip 1 &
tab 007 COLOR-H3 skip 1 &
tab 007 STYLE-H3 skip 1 &
tab 007 "}" skip 1 &
tab 001 "BODY {" skip 1 &
tab 007 FONT-BODY skip 1 &
tab 007 SIZE-BODY skip 1 &
tab 007 ALIGN-BODY skip 1 &
tab 007 WEIGHT-BODY skip 1 &
tab 007 COLOR-BODY skip 1 &
tab 007 STYLE-BODY skip 1 &
tab 007 "}" skip 1 &
tab 001 "-->" skip 1 &
tab 001 "</STYLE>" skip 1 &
tab 001 "<title>" H-TITLE "</title>" skip 1 &
tab 001 "</head>" skip 1 &
tab 001 '<body bgcolor="#' H-BG-COLOR '" text="#' H-COLOR &
'" link="#' H-LINK '" vlink="#' H-VLINK '">' skip 1 &
tab 001 '<H1>' H-TITLE '</H1>' skip 1
final footing &
tab 001 "</body>" skip 1 &
tab 001 "</html>" skip 1
- use for the initial header and final footing every thing inbetween is your
code.
- you might added defines to call other tags within the report
Catherine
============================================
Catherine Litten,
Senior Programmer/Analyst (catherine.litten@valleypres.org)
Valley Presbyterian Hospital (www.valleypres.org)
15107 Vanowen Street, Van Nuys, Ca 91405-4597
Phone (818) 782-6600 x 2140 Fax (818) 902-5202
============================================
The thoughts, comments, and opinions expressed herein are mine and do not
reflect those of my employer, or anyone else.
============================================
-----Original Message-----
From: powerh-l-admin@cube.swau.edu
[mailto:powerh-l-admin@cube.swau.edu]On Behalf Of Jim Grace
Sent: Thursday, April 05, 2001 11:41 AM
To: powerh-l@lists.swau.edu
Subject: Html Tags
We are looking at putting some Quiz reports on our intranet. I am looking
for anyone who may have a quiz program defining html tags that we can inbed
into quiz programs with a 'use' statement.
Thanks
Jim
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.