line
HTML tags
line

HTML tags and attributes available

The following table lists all the HTML tags and their attributes available with TopPage. Asterisks (*) are attached to tags and attributes that are not defined in HTML 4.0.

Note Note If you open a Web page in which tags or attributes other than the following are embedded, TopPage issues either of the following error messages: "Unknown tag" or "The attribute is invalid."


Tag Generic attribute group (Note 1) Description Editing on the Normal pane
  • F = Full support
  • P = Partial support
  • N = No support (Note 2)
Displaying on the Normal pane
(Note 3)
  • F = Full support
  • P = Partial support
  • N = No support
Attribute Attribute value
A core, internationalization, event anchor F F
charset char encoding of linked resource N N/A
type content type N N/A
name label F N/A
href URL for linked resource F F
hreflang language code N N/A
target target F N/A
rel link destination type N N/A
rev link source type N N/A
accesskey accessibility key character N N/A
shape rect type of drawing N N/A
coords for use with client-side image maps N N/A
tabindex tab index N N/A
onfocus action when the element gets the focus F N/A
onblur action when focus lost F N/A
ABBR core, internationalization, event abbreviated form N F
ACRONYM core, internationalization, event acronym N F
ADDRESS core, internationalization, event information on author F F
APPLET core Java applet F F
codebase optional base URL for applet F N/A
archive archive list N N/A
code applet class file F N/A
object serialized applet file N N/A
alt short description F N/A
name name N N/A
width width F F
height height F F
align top, middle, bottom,
left, right
vertical or horizontal alignment F F
hspace horizontal gutter F F
vspace vertical space F F
AREA core, internationalization, event client-side image map area F N/A
shape rect, circle, poly type of drawing F N/A
coords comma-separated list of lengths F N/A
href URL for linked resource F N/A
target target F N/A
nohref no URL N N/A
alt short description F N/A
tabindex tab index N N/A
accesskey accessibility key character N N/A
onfocus action when the element gets the focus N N/A
onblur action when focus lost N N/A
B core, internationalization, event bold text style F F
BASE document base URL F N/A
href base URL F N/A
target predetermined value of target F N/A
BASEFONT base font size N N
id style ID N N
size size N N
color text color N N
face comma-separated list of font names N N
BDO core, internationalization directionality N N
BIG core, internationalization, event large text style N F
BLINK * core, internationalization, event blinking F F (Note 4)
BLOCKQUOTE core, internationalization, event long quotation F F
cite quotation source N N/A
BODY core, internationalization, event document body F F
onload action when the document has been loaded F N/A
onunload action when the document has been removed F N/A
background background image F F
bgcolor background color F F
text text color F F
link color of links F F
vlink previously read link color F N/A
alink color of selected links F N/A
BR core forced line break F F
clear left, all, right, none control of text flow F F
BUTTON core, internationalization, event push button F F
name name F N/A
value value F N/A
type button, submit, reset type F N/A
disabled disabled unavailable in this context F F
tabindex tab index N N/A
accesskey accessibility key character N N/A
onfocus action when the element gets the focus F N/A
onblur action when focus lost F N/A
CAPTION core, internationalization, event table caption F F
align top, bottom, left, right alignment F F
CENTER core, internationalization, event center F F
CITE core, internationalization, event citation F F
CODE core, internationalization, event computer code fragment F F
COL core, internationalization, event table column N N
span number of columns N N
width width N N
align left, center, right,
justify, char
horizontal alignment N N
char alignment character N N
charoff offset for alignment character N N
valign top, middle, bottom,
baseline
vertical alignment N N
COLGROUP core, internationalization, event table column group N N
span number of columns N N
width width N N
align left, center, right,
justify, char
horizontal alignment N N
char alignment character N N
charoff offset for alignment character N N
valign top, middle, bottom,
baseline
vertical alignment N N
DD core, internationalization, event definition description F F
DEL core, internationalization, event deleted text N N
cite comment N N/A
datetime date and time of change N N/A
DFN core, internationalization, event definition description F F
DIR core, internationalization, event directory list N F
compact compact compact N N
DIV core, internationalization, event layout container F F
align left, center, right,
justify
alignment P (Note 5) P (Note 5)
DL core, internationalization, event definition list F F
compact compact reduced interitem spacing N N
DT core, internationalization, event definition term F F
EM core, internationalization, event emphasis F F
EMBED * core, event plug-in F F
src object F N/A
height height F F
width width F F
align alignment F F
hspace horizontal gutter F F
vspace vertical space F F
loop loop N N/A
hidden hidden N N
volume volume N N/A
autostart auto-start N N/A
repeat repeat N N/A
panel panel N N
text title N N
palette palette N N
textfocus focus N N/A
FIELDSET core, internationalization, event input field group N N
FONT core, internationalization font F F
size size F F
color text color F F
face comma-separated list of font names F F
FORM core, internationalization, event interactive form F F
action server-side form handler F N/A
method GET, POST HTTP method used to submit the form F N/A
enctype type of encoding F N/A
onsubmit action when the form is submitted F N/A
onreset action when the form is reset F N/A
target target F N/A
accept-charset list of supported character sets N N/A
FRAME core subwindow F F
longdesc link to long description N N/A
name frame name F N/A
src URL such as file name F F
frameborder 1, 0 border N N/A
marginwidth margin width in pixels F N
marginheight margin height in pixels F N
noresize noresize does not allow users to resize frames F N
scrolling yes, no, auto scroll bar F N
FRAMESET core window subdivision F F
rows number of up-down divisions F F
cols number of left-right divisions F F
onload action when all the frames have been loaded N N/A
onunload action when all the frames have been removed N N/A
frameborder * display of borders F P (Note 6)
border * border width F P (Note 6)
H1 core, internationalization, event heading 1 F F
align left, center, right,
justify
alignment P (Note 5) P (Note 5)
H2 core, internationalization, event heading 2 F F
align left, center, right,
justify
alignment P (Note 5) P (Note 5)
H3 core, internationalization, event heading 3 F F
align left, center, right,
justify
alignment P (Note 5) P (Note 5)
H4 core, internationalization, event heading 4 F F
align left, center, right,
justify
alignment P (Note 5) P (Note 5)
H5 core, internationalization, event heading 5 F F
align left, center, right,
justify
alignment P (Note 5) P (Note 5)
H6 core, internationalization, event heading 6 F F
align left, center, right,
justify
alignment P (Note 5) P (Note 5)
HEAD internationalization document head F N/A
profile named dictionary of meta-information N N/A
HR core, event horizontal rule F F
align left, center, right alignment F F
noshade noshade no shading F F
size thickness F F
width width F F
HTML internationalization HTML document F N/A
version version N N/A
I core, internationalization, event italic text style F F
IFRAME core inline subwindow N N
longdesc detailed explanation N N
name frame name N N
src URL such as file name N N
frameborder 1, 0 border N N
marginwidth margin width in pixels N N
marginheight margin height in pixels N N
scrolling yes, not, auto scroll bar N N
align top, middle, bottom,
left, right
vertical or horizontal alignment N N
height height N N
width width N N
IMG core, internationalization, event image F F
src file name F F
alt   short description F N/A
longdesc detailed explanation N N/A
height height F F
width width F F
usemap CSIM map name F N/A
ismap ismap use of server-side image map F N/A
align top, middle, bottom,
left, right
vertical or horizontal alignment F F
border border width F F
hspace horizontal gutter F F
vspace vertical space F F
name * name N N/A
INPUT core, internationalization, event input field F F
type text, password,
checkbox, radio,
submit, reset,
file, hidden,
image, button
type P (Note 7) P (Note 7)
name name F N/A
value value F F
checked checked selected radio buttons and check boxes F F
disabled disabled unavailable in this context F N
readonly readonly no entry possible F N/A
size number of columns F F
maxlength maximum characters for text fields F F
src image file name F F
alt short description F N/A
usemap CSIM map name N N/A
tabindex tab index N N/A
accesskey accessibility key character N N/A
onfocus action when the element gets the focus F N/A
onblur action when focus lost F N/A
onselect action when some text is selected F N/A
onchange action when the element value is changed F N/A
accept list of MIME types for file upload N N/A
align top, middle, bottom,
left, right
vertical or horizontal alignment N N
INS core, internationalization, event inserted text N N
cite comment N N
datetime date and time N N
ISINDEX core, internationalization index search N N
prompt prompt message N N
KBD core, internationalization, event text to be entered by the user F F
LABEL core, internationalization, event label of input field N N
for ID for input field N N
accesskey accessibility key character N N
onfocus action when the element gets the focus N N
onblur action when focus lost N N
LEGEND core, internationalization, event fieldset legend N N
accesskey accessibility key character N N
align top, bottom, left, right alignment N N
LI core, internationalization, event list item F F
type 1, a, A, i, I,
disc, square, circle
type F F
value number F F
LINK core, internationalization, event a media-independent link F N/A
charset encoding of link destination text N N/A
href URL for linked resource F N/A
hreflang language code N N/A
type content type N N/A
rel link destination type N N/A
rev link source type N N/A
media media N N/A
target target N N/A
MAP core, internationalization, event client-side image map F N/A
name map name F N/A
MENU core, internationalization, event menu list N F
compact compact compact N N
META internationalization generic meta-information F N/A
http-equiv HTTP response header name F N/A
name NAME item F N/A
content associated information F N/A
scheme scheme N N/A
NOFRAMES core, internationalization, event alternate content container for non-frame-based rendering F F
NOSCRIPT core, internationalization, event alternate content container for non-script-based rendering N N
OBJECT core, internationalization, event generic embedded object F F
declare declare declaration N N/A
classid object F N/A
codebase base URL for classid, data, archive F N/A
data reference to object's data F N/A
type data type F N/A
codetype content type for code F N/A
archive archive list F N/A
standby standby character F N/A
height height F F
width width F F
usemap CSIM map name N N/A
name name N N/A
tabindex tab index N N/A
align top, middle, bottom,
left, right
vertical or horizontal alignment F F
border border width F F
hspace horizontal gutter F F
vspace vertical space F F
OL core, internationalization, event ordered list F F
type 1, a, A, i, I item type F F
compact compact reduced interitem spacing N N
start starting number F F
OPTGROUP core, internationalization, event option group N N
disabled disabled unavailable in this context N N
label label N N
OPTION core, internationalization, event selectable choice F F
selected selected selected F F
disabled disabled unavailable in this context N F
label label N N/A
value value F F
P core, internationalization, event paragraph F F
align left, center, right,
justify
alignment P (Note 5) P (Note 5)
PARAM named property value F N/A
id ID N N/A
name name F N/A
value value F N/A
valuetype DATA, REF, OBJECT type of value N N/A
type content type N N/A
PRE core, internationalization, event preformatted text F F
width maximum number of characters in a line N N
Q core, internationalization, event short inline quotation N N
cite quotation source N N
S core, internationalization, event strike-through text style F F
SAMP core, internationalization, event sample program output, scripts, and so on F F
SCRIPT script statements F F
charset character encoding for external file N N/A
type content type N N/A
language language F N/A
src external file name F N/A
defer defer defer N N/A
event (unused) N N/A
for (unused) N N/A
SELECT core, internationalization, event option selector F F
name name F N/A
size number of rows F F
multiple multiple multiple selection permitted (default is single selection) F F
disabled disabled unavailable in this context F F
tabindex tab index N N/A
onfocus action when the element gets the focus F N/A
onblur action when focus lost F N/A
onchange action when the element value is changed F N/A
SMALL core, internationalization, event small text style N F
SPAN core, internationalization, event style container N F
STRIKE core, internationalization, event strike-through text N F
STRONG core, internationalization, event strong emphasis F F
STYLE internationalization style info F F
type content type N N/A
media media N N/A
title title N N/A
SUB core, internationalization, event subscript F F
SUP core, internationalization, event superscript F F
TABLE core, internationalization, event table F F
summary summary N N
width width F F
border border width F F
frame void, above, below,
hsides, lhs, rhs,
vsides, box, border
type of border N N
rules none, groups,
rows, cols, all
type of ruled line N N
cellspacing   spacing between cells F F
cellpadding spacing within cells F F
align left, center, right table position relative to window F F
bgcolor background color F F
datapagesize (unused) N N
height * height F F
background * background image F F
TBODY core, internationalization, event table body F F
align left, center, right,
justify, char
horizontal alignment N P (Note 5)
char alignment character N N
charoff offset for alignment character N N
valign top, middle, bottom,
baseline
vertical alignment N P (Note 8)
TD core, internationalization, event table data cell F F
abbr abbreviation for header cell N N/A
axis names groups of related headers N N/A
headers header cell ID N N/A
scope header cell scope N N/A
rowspan number of rows spanned by cell F F
colspan number of columns spanned by cell F F
align left, center, right,
justify, char
horizontal alignment P (Note 9) P (Note 9)
char alignment character N N
charoff offset for alignment character N N
valign top, middle, bottom,
baseline
vertical alignment P (Note 8) P (Note 8)
nowrap nowrap no automatic word wrap F F
bgcolor background color F F
width width F F
height height F F
background * texture tile for document background F F
TEXTAREA core, internationalization, event multi-line text field F F
name name F N/A
rows number of rows F F
cols number of columns F F
disabled disabled unavailable in this context F N
readonly readonly no entry possible F N/A
tabindex tab index N N/A
accesskey accessibility key character N N/A
onfocus action when the element gets the focus F N/A
onblur action when focus lost F N/A
onselect action when some text is selected F N/A
onchange action when the element value is changed F N/A
TFOOT core, internationalization, event table footer N F
align left, center, right,
justify, char
horizontal alignment N P (Note 9)
char alignment character N N
charoff offset for alignment character N N
valign top, middle, bottom,
baseline
vertical alignment N F
TH core, internationalization, event table header cell F F
abbr abbreviation for header cell N N/A
axis header cell group N N/A
headers header cell ID N N/A
scope header cell scope N N/A
rowspan   number of rows spanned by cell F F
colspan number of columns spanned by cell F F
align left, center, right,
justify, char
horizontal alignment P (Note 9) P (Note 9)
char alignment character N N/A
charoff offset for alignment character N N/A
valign top, middle, bottom,
baseline
Vertical position alignment P (Note 8) P (Note 8)
nowrap nowrap no automatic word wrap F F
bgcolor background color F F
width width F F
height height F F
background * background image F F
THEAD core, internationalization, event table header N F
align left, center, right,
justify, char
horizontal alignment N P (Note 9)
char alignment character N N
charoff offset for alignment character N N
valign top, middle, bottom,
baseline
vertical alignment N P (Note 8)
TITLE internationalization document title F F
TR core, internationalization, event table row F F
align left, center, right,
justify, char
horizontal alignment P (Note 9) P (Note 9)
char alignment character N N
charoff offset for alignment character N N
valign top, middle, bottom,
baseline
vertical alignment P (Note 8) P (Note 8)
bgcolor background color F F
background * background image F F
TT core, internationalization, event teletype or monospaced text style F F
U core, internationalization, event underlined text style F F
UL core, internationalization, event unordered list F F
type disk, square, circle item type F F
compact compact reduced interitem spacing N N
VAR core, internationalization, event instance of a variable or program argument F F

Notes:

  1. Generic attribute group refers to the three attribute groups: core, internationalization, and event. [Ref.] "Generic attribute group"

  2. You cannot edit N-marked tags and attributes on the Normal pane, but you can directly edit them on the HTML Source pane or other text editors. [Ref.] "Editing HTML directly"

  3. Some tags and attributes change the Web page appearance. Normally you can see the changes on the Normal pane, but sometimes you cannot. The marks F, P, and N indicate the support for displaying the appearance changes on the Normal pane. N/A indicates that the tag or attribute does not change the Web page appearance.

  4. This tag is indicated by its red color. (It does not flash.)

  5. Except for "justify," both editing and displaying are supported.

  6. Attribute values other than 0 can be displayed.

  7. Except for "type=file," displaying is supported.

  8. Except for "baseline," both editing and displaying are supported.

  9. Except for "justify" and "char," both editing and displaying are supported.


Generic attributes group

The following table lists the attributes included in the three attribute groups core, internationalization, and event.

Attribute group Attribute Description Editing on the Normal pane
  • F = Full support
  • N = No support
Displaying on the Normal pane
  • F = Full support
core id document-wide unique ID F F
class space-separated list of classes F F
style style information F F
title advisory title or amplification N N/A
internationalization lang language code N N/A
dir direction for weak or neutral text N N/A
event onclick action when a mouse button is clicked F N/A
ondblclick action when a mouse button is double-clicked F N/A
onmousedown action when a mouse button is pressed down F N/A
onmouseup action when a mouse button is released F N/A
onmouseover action when a mouse pointer is moved onto F N/A
onmousemove action when a mouse pointer is moved within F N/A
onmouseout action when a mouse pointer is moved away F N/A
onkeypress action when a key is pressed and released F N/A
onkeydown action when a key is pressed down F N/A
onkeyup action when a key is released F N/A