HTML and CSS Reference
In-Depth Information
A
APPENDIX
Color Names with
Color Values, and
HTML Character
Entities
Both HTML and XHTML allow you to defi ne colors using either
color names or color values. HTML and XHTML support a list of
16 basic color names. Most browsers also support an extended
list of color names, which are listed in Table A-1 in this appendix,
along with their RGB and hexadecimal values. The 16 color names
supported by HTML and XHTML appear highlighted in the table.
Web-safe colors appear in a bold font.
If you want to use only Web-safe colors, limit your RGB values to 0,
51, 153, 204, and 255 (or limit your hexadecimal values to 00, 33,
66, 99, CC, and FF). For example, an RGB color value of (255, 51,
204) would be Web safe, while an RGB color value of (255, 192,
128) would not.
Table A-2 in this appendix lists the extended character set for HTML,
also known as the ISO Latin-1 Character Set. You can specify charac-
ters by name or by numeric value. For example, you can use either
® or ® to specify the registered trademark symbol, ®. Not
all browsers recognize all code names. Some older browsers that
support only the HTML 2.0 standard do not recognize × as a
code name, for instance. Code names that older browsers might not
recognize are marked with an asterisk in Table A-2.
STARTING DATA FILES
There are no starting Data Files needed for this appendix.
HTML A1
 
Search WWH ::




Custom Search