HTML+: Supporting and Extending HTML
HTML+ Extensions to HTML
Tag | Attribute | Comments |
<imageinsert> | width=n, height=n, | When set, these dimensions are used and image is scaled accordingly. When default
values (0) are encountered instead, image dimensions depend upon the value of orient: When
set to either prt (portrait) or lsc (landscape), default images sizes of 150 x 210
or 210 x 150 are used, respectively; otherwise (orient = null or ""),
the images actual dimensions are used. Note: using the image's actual dimensions rather than supplying them or relying on defaults requires that the entire image be read before being rendered; for large images, supply dimensions when possible for faster rendering. |
scale=f | The factor by which the image is to be scaled, in addition to any scaling which occurs by setting height and width parameters or through automatic scaling for the user's screen resolution. Default is 1.00f . | |
hspace=n, vspace=n | Horizontal and vertical margins (white space) around image. Default values are 10. | |
align=left, right | Image's alignment in column. Default is left. | |
orient=prt, lsc | The image's orientation (portrait or landscape). Default is null. | |
src=url** | Image source file. | |
title=title | Image title to appear in bold face, wrapped beneath image. | |
desc=desc | Additional descriptive information to appear in normal type face and appended to title. | |
nowrap | When set, forces text below image instead of wrapping around it. | |
<textinsert> | width=n | The width of text box. Note: this value will be automatically scaled for the user's screen resolution. |
hspace=n, vspace=n | Horizontal and vertical margins (white space) around text box. Default values are 10. | |
align=left, right | Box's alignment in column. Default is left. | |
text=text | The text to be displayed in the text insert. | |
ruleheight=n | Height of rule displayed above and below text, in pixels. | |
rulecolor=color* | The color of ruling lines. | |
bgcolor=color* | The text box's background color. | |
nowrap | When set, forces text below text insert instead of wrapping around it. | |
<image> | width=n, height=n, | When set, these dimensions are used and image is scaled accordingly. When default
values (0) are encountered instead, image dimensions depend upon the value of orient: When
set to either prt (portrait) or lsc (landscape), default images sizes of 300 x 420
or 420 x 3050 are used, respectively; otherwise (orient = null or ""),
the images actual dimensions are used. Note: using the image's actual dimensions rather than supplying them or relying on defaults requires that the entire image be read before being rendered; for large images, supply dimensions when possible for faster rendering. |
scale=f | The factor by which the image is to be scaled, in addition to any scaling which occurs by setting height and width parameters or through automatic scaling for the user's screen resolution. Default is 1.00f . | |
hspace=n, vspace=n | Horizontal and vertical margins (white space) around image. Default values are 10. | |
orient=prt, lsc | The image's orientation (portrait or landscape). Default is null. | |
src=url** | Image source file. | |
title=title | Image title to appear in bold face, wrapped beneath image. | |
desc=desc | Additional descriptive information to appear in normal type face and appended to title. | |
top=n | Image's top margin. | |
allowwrap | When set, allows text to wrap image. By default, text is forced below image. | |
<cond> | browser=browser | Allowed values: "NN" (Netscape Navigator); "NN 3" (Netscape Navigator Version 3.x); "NN 4" (Netscape Navigator 4.x); "IE" (Internet Explorer); "IE 3" (Internet Explorer 3.x); "IE 4" (Internet Explorer 4.x). NOTE: The </cond> tag is required and currently <cond> tags cannot be nested. |
platform=platform | Allowed values: "Win" (Windows)"; "Win NT" (Windows NT)"; "Win 95" (Windows 95); "Win 3.1" (Windows 3.1); "Mac" (Macintosh); "Mac PPC" (Macintosh PowerPC); "Mac 68K" (Macintosh 68K). | |
resolution=resolution | Allowed values: "1600x1200"; "1024x768"; "832x624"; "800x600"; "640x480"; "HIGH" (1600x1200 or 1024x768); "LOW" (any other value). | |
*Color specified as " #XXYYZZ;" where xx, etc., are hexadecimal values specifying the RGB color values and the bracketing # and ; characters are optional. | ||
**If complete URL is supplied (e.g., "http://www.server.com/images/imgfile.ext) it will be used as specified. Otherwise (e.g., "images/imgfile.ext") is assumed to be relative to the path of the HTML file containing the <img> tag. |