This file is part of the TADS 2 Author’s Manual.
Copyright © 1998 - 2002 by Michael J. Roberts. All rights reserved.
Edited by NK Guy, tela design.


Appendix J


HTML tags and attributes supported by multimedia TADS

 

This appendix essentially summarizes the HTML tags and attributes mentioned in previous chapters and appendices for your convenience. Generally speaking, multimedia TADS supports the HTML 3.2 standard fairly closely. There are three main changes - the removal of tags not relevant to interactive fiction, the addition of a few useful tags from HTML 3.0, and the addition of a handful of custom TADS tags to support features required by IF but not required by Web browsers.


Tags

A (anchor or link)

ABOUTBOX (about box - TADS only)

ADDRESS (address format)

AREA (area of image map)

B (boldface type)

BASEFONT (default font size)

BANNER (non-scrolling banner areas)

BIG (bigger font size)

BLOCKQUOTE (indented block of text)

BODY (define page attributes)

BQ (synonym for BLOCKQUOTE)

BR (line break)

CAPTION (table caption)

CENTER (align center)

CITE (inline citation)

CODE (inline code)

Comments ( <!-- --> )

CREDIT

DD (definition description)

DFN

DIR (directory list)

DIV (section of a document)

DL (definition list)

DT (definition term)

EM (emphasized text)

FONT (font color, typeface, size)

H1 through H6 (standard headings)

HR (horizontal rule)

I (italic type)

IMG (image)

KBD (keyboard text)

LH

LI (list item)

LISTING

MAP (mapping information for image map)

MENU

NOBR (no break)

OL (ordered list)

P (paragraph)

Q (smart quotation mark)

PRE (preformatted text, fixed-width font)

S (strikeout type)

SAMP

SMALL (smaller font size)

SOUND (sound - TADS tag)

SPACER (extra space)

STRIKE (strikeout type)

STRONG (strong emphasis)

SUB (subscript)

SUP (superscript)

TAB (tab)

TABLE (table)

TD (table data)

TH (table heading)

TITLE (game title)

TR (table row)

TT (typewriter font)

U (underline)

UL (unordered list)

VAR (variable)

XMP (sequence of literal characters)


Attributes

BACKGROUND

BGCOLOR

TEXT

LINK

VLINK

ALINK

ALIGN

COMPACT

TYPE

START

VALUE

WIDTH

NOSHADE

SIZE

VALIGN

BORDER

CELLSPACING

CELLPADDING

NOWRAP

ROWSPAN

COLSPAN

HEIGHT

NAME

CHECKED

MAXLENGTH

SRC

MULTIPLE

SELECTED

ROWS

COLS

HREF

REL

REV

TITLE

ALT

HSPACE

VSPACE

USEMAP

ISMAP

CODEBASE

CODE

FACE

COLOR

CLEAR

SHAPE

COORDS

NOHREF

ID

REMOVE

TO

INDENT

DP

PLAIN

CONTINUE

SEQNUM

LAYER

CANCEL

REPEAT

RANDOM

FADEIN

FADEOUT

INTERRUPT

SEQUENCE


Attribute Values

BLACK

SILVER

GRAY

WHITE

MAROON

RED

PURPLE

FUCHSIA

GREEN

LIME

OLIVE

YELLOW

NAVY

BLUE

TEAL

AQUA

LEFT

RIGHT

CENTER

DISC

SQUARE

CIRCLE

TOP

MIDDLE

BOTTOM

PASSWORD

CHECKBOX

RADIO

SUBMIT

RESET

FILE

HIDDEN

IMAGE

ALL

RECT

POLY

JUSTIFY

DECIMAL

PREVIOUS

BORDER

FOREGROUND

AMBIENT

BGAMBIENT

BACKGROUND

LOOP

RANDOM

REPLACE

CYCLE

CANCEL

STATUSBG

STATUSTEXT


Some common HTML tags not supported by multimedia TADS

APPLET (Java applet)

BASE (base URL)

BLINK (blinking text)

EMBED (embedded plug-in)

FORM (form for user input)

FRAME (window region)

FRAMESET (set of frames)

HEAD (document header)

HTML (outermost tag)

ILAYER (inline layer)

INPUT (input element in a form)

ISINDEX (searchable index)

KEYGEN (generate key material)

LAYER (positioned HTML content)

LINK (link to external files)

MENU (list of simple items)

META (metadocument information)

MULTICOL (multiple column formatting)

NOEMBED (alternative text for embedded objects)

NOFRAMES (alternative text for frames)

NOLAYER (alternative text for layers)

NOSCRIPT (alternative text for JavaScript)

OBJECT (embedded object)

OPTION (option in a SELECT list)

PARAM (parameter for an applet)

PLAINTEXT (display rest of document as-is)

SCRIPT (client-side JavaScript code)

SELECT (selection list in a form)

SERVER (server-side script)

SPAN (span of content)

STYLE (style definition)

TEXTAREA (text field on a form)

WBR (word break)


Appendix I Table of Contents Appendix K