Tải bản đầy đủ (.pdf) (10 trang)

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day (5th Edition) P84 doc

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (91.94 KB, 10 trang )

Forms
Deprecated align=" "Controls alignment (left, center, right, justify).
Empty Yes.
Notes In XHTML 1.0, this tag should take the XML form of
<input /> to ensure compatibility
with older browsers.

<isindex>
Usage Prompts the user for input.
Start/End Tag Required/IllegalSee note for XHTML 1.0 requirements.
Attributes
%coreattrs, %i18n.
Deprecated
prompt=" "Provides a prompt string for the input field.
Empty Yes.
Notes This field is deprecated in favor of actual form controls.

<label> </label>
Usage Labels a control.
Start/End Tag Required/Required.
Attributes
%coreattrs, %i18n, %events.

for=" "Associates a label with an identified control.

disabled=" "Disables a control.

accesskey=" "Assigns a hotkey to this element.

onfocus=" "The event that occurs when the element receives focus.


onblur=" "The event that occurs when the element loses focus.
Empty No.

<legend> </legend>
Usage Assigns a caption to a fieldset.
Start/End Tag Required/Required.
Attributes
%coreattrs, %i18n, %events.

accesskey=" "Assigns a hotkey to this element.
Deprecated
align=" "Controls alignment (left, center, right, justify).
file:///G|/1/0672328860/app02lev1sec11.html (3 von 5) [19.12.2006 13:50:35]
Forms
Empty No.

<option> </option>
Usage Specifies choices in a select element.
Start/End Tag Required/Optional (HTML); Required/Required (XHTML 1.0).
Attributes
%coreattrs, %i18n, %events.

selected=" "Specifies whether the option is selected.

disabled=" "Disables control.

value=" "The value submitted if a control is submitted.
Empty No.

<select> </select>

Usage Creates choices for the user to select.
Start/End Tag Required/Required.
Attributes
%coreattrs, %i18n, %events.

name=" "The name of the element.

size=" "The width in number of rows.

multipleAllows multiple selections.

disabled=" "Disables the control.

tabindex=" "Sets the tabbing order between elements with a defined tabindex.

onfocus=" "The event that occurs when the element receives focus.

onblur=" "The event that occurs when the element loses focus.

onselect=" "Intrinsic event that occurs when the control is selected.

onchange=" "Intrinsic event that occurs when the control is changed.
Empty No.

<textarea> </textarea>
Usage Creates an area for user input with multiple lines.
Start/End Tag Required/Required.
file:///G|/1/0672328860/app02lev1sec11.html (4 von 5) [19.12.2006 13:50:35]
Forms
Attributes %coreattrs, %i18n, %events.


name=" "The name of the control.

rows=" "The width in number of rows.

cols=" "The height in number of columns.

disabled=" "Disables the control.

readonly=" "Sets the displayed text to read-only status.

tabindex=" "Sets the tabbing order between elements with a defined tabindex.

onfocus=" "The event that occurs when the element receives focus.

onblur=" "The event that occurs when the element loses focus.

onselect=" "Intrinsic event that occurs when the control is selected.

onchange=" "Intrinsic event that occurs when the control is changed.
Empty No.
Notes Text to be displayed is placed within the start and end tags.



file:///G|/1/0672328860/app02lev1sec11.html (5 von 5) [19.12.2006 13:50:35]
Scripts


Scripts

Scripting language is made available to process data and perform other dynamic events through the
script element.
<script> </script>
Usage Contains client-side scripts that are executed by the browser.
Start/End Tag Required/Required.
Attributes
type=" "Script language Internet content type.

src=" "The URL for the external script.
Deprecated
language=" "The scripting language, deprecated in favor of the type attribute.
Empty No.
Notes You can set the default scripting language in the
meta element.

<noscript> </noscript>
Usage Provides alternative content for browsers unable to execute a script.
Start/End Tag Required/Required.
Attributes None.
Empty No.



file:///G|/1/0672328860/app02lev1sec12.html [19.12.2006 13:50:36]
Character Entities



Character Entities
Table B.1 contains the possible numeric and character entities for the ISO-Latin-1 (ISO8859-1)

character set. Where possible, the character is shown.
Note
Not all browsers can display all characters, and some browsers may even display different
characters from those that appear in the table. Newer browsers seem to have a better track
record for handling character entities, but be sure and test your HTML files extensively with
multiple browsers if you intend to use these entities.

Table B.1. ISO-Latin-1 Character Set
Character Numeric Entity Character Entity(if any) Description

&#00;&#08;

Unused

&#09;

Horizontal tab

&#10;

Line feed

&#11;&#31;

Unused

&#32;

Space
!

&#33;

Exclamation mark
"
&#34; &quot;
Quotation mark
#
&#35;

Number sign
$
&#36;

Dollar sign
%
&#37;

Percent sign
&
&#38; &amp;
Ampersand
'
&#39;

Apostrophe
(
&#40;

Left parenthesis
)

&#41;

Right parenthesis
*
&#42;
Asterisk
file:///G|/1/0672328860/app02lev1sec13.html (1 von 5) [19.12.2006 13:50:37]
Character Entities
+
&#43;

Plus sign
'
&#44;

Comma
-
&#45;

Hyphen
.
&#46;

Period (fullstop)
/
&#47;

Solidus (slash)
09
&#48;&#57;


Digits 09
:
&#58;

Colon
;
&#59;

Semicolon
<
&#60; &lt;
Less than
=
&#61;

Equal sign
>
&#62; &gt;
Greater than
?
&#63;

Question mark
@
&#64;

Commercial at
AZ
&#65;&#90;


Letters AZ
[
&#91;

Left square bracket
\
&#92;

Reverse solidus (backslash)
]
&#93;

Right square bracket
^
&#94;

Caret
&#95;

Horizontal bar
`
&#96;

Grave accent
az
&#97;&#122;

Letters az
{

&#123;

Left curly brace
|
&#124;

Vertical bar
}
&#125;

Right curly brace
~
&#126;

Tilde

&#127;&#159;

Unused

&#160; &nbsp;
Non-breaking space
¡
&#161; &iexcl;
Inverted exclamation
¢
&#162; &cent;
Cent sign
£
&#163; &pound;

Pound sterling

&#164; &curren;
General currency sign
file:///G|/1/0672328860/app02lev1sec13.html (2 von 5) [19.12.2006 13:50:37]
Character Entities
Ơ
&#165; &yen;
Yen sign
|
&#166; &brvbar; or &brkbar;
Broken vertical bar
Đ
&#167; &sect;
Section sign
ă
&#168;
&uml;
or &die; Umlaut (dieresis)
â
&#169; &copy;
Copyright
ê
&#170; &ordf;
Feminine ordinal
ô
&#171; &laqo;
Left angle quote, guillemet left
ơ
&#172; &not;

Not sign
-
&#173; &shy;
Soft hyphen
đ
&#174; &reg;
Registered trademark

&#175;
&macr;
or &hibar; Macron accent

&#176; &deg;
Degree sign

&#177; &plusmn;
Plus or minus
2
&#178; &sup2;
Superscript two
3
&#179; &sup3;
Superscript three

&#180; &acute;
Acute accent
à
&#181; &micro;
Micro sign


&#182; &para;
Paragraph sign
ã
&#183; &middot;
Middle dot
á
&#184; &cedil;
Cedilla
1
&#185; &sup1;
Superscript one

&#186; &ordm;
Masculine ordinal

&#187; &raquo;
Right angle quote, guillemet right

&#188; &fraq14;
Fraction one-fourth

&#189; &fraq12;
Fraction one-half

&#190; &fraq34;
Fraction three-fourths

&#191; &iquest;
Inverted question mark


&#192; &Agrave;
Capital A, grave accent

&#193; &Aacute;
Capital A, acute accent

&#194; &Acirc;
Capital A, circumflex accent

&#195; &Atilde;
Capital A, tilde

&#196; &Auml;
Capital A, dieresis or umlaut mark

&#197; &Aring;
Capital A, ring
file:///G|/1/0672328860/app02lev1sec13.html (3 von 5) [19.12.2006 13:50:37]
Character Entities

&#198; &AElig;
Capital AE dipthong (ligature)

&#199; &Ccedil;
Capital C, cedilla

&#200; &Egrave;
Capital E, grave accent

&#201; &Eacute;

Capital E, acute accent

&#202; &Ecirc;
Capital E, circumflex accent

&#203; &Euml;
Capital E, dieresis or umlaut mark
è
&#204; &Igrave;
Capital I, grave accent

&#205; &Iacute;
Capital I, acute accent

&#206; &Icirc;
Capital I, circumflex accent

&#207; &Iuml;
Capital I, dieresis or umlaut mark
&#208;
&ETH;
or &Dstrok; Capital Eth, Icelandic

&#209; &Ntilde;
Capital N, tilde

&#210; &Ograve;
Capital O, grave accent

&#211; &Oacute;

Capital O, acute accent

&#212; &Ocirc;
Capital O, circumflex accent
ế
&#213; &Otilde;
Capital O, tilde

&#214; &Ouml;
Capital O, dieresis or umlaut mark
x
&#215; &times;
Multiply sign

&#216; &Oslash;
Capital O, slash

&#217; &Ugrave;
Capital U, grave accent

&#218; &Uacute;
Capital U, acute accent

&#219; &Ucirc;
Capital U, circumflex accent
ĩ
&#220; &Uuml;
Capital U, dieresis or umlaut mark
Y
&#221; &Yacute;

Capital Y, acute accent

&#222; &THORN;
Capital THORN, Icelandic
ò
&#223; &szlig;
Small sharp s, German (sz ligature)

&#224; &agrave;
Small a, grave accent

&#225; &aacute;
Small a, acute accent
õ
&#226; &acirc;
Small a, circumflex accent
ó
&#227; &atilde;
Small a, tilde

&#228; &auml;
Small a, dieresis or umlaut mark

&#229; &aring;
Small a, ring

&#230; &aelig;
Small ae dipthong (ligature)
file:///G|/1/0672328860/app02lev1sec13.html (4 von 5) [19.12.2006 13:50:37]
Character Entities


&#231; &ccedil;
Small c, cedilla

&#232; &egrave;
Small e, grave accent

&#233; &eacute;
Small e, acute accent

&#234; &ecirc;
Small e, circumflex accent

&#235; &euml;
Small e, dieresis or umlaut mark

&#236; &igrave;
Small i, grave accent

&#237; &iacute;
Small i, acute accent

&#238; &icirc;
Small i, circumflex accent
ù
&#239; &iuml;
Small i, dieresis or umlaut mark

&#240; &eth;
Small eth, Icelandic


&#241; &ntilde;
Small n, tilde
ũ
&#242; &ograve;
Small o, grave accent
ú
&#243; &oacute;
Small o, acute accent

&#244; &ocirc;
Small o, circumflex accent

&#245; &otilde;
Small o, tilde

&#246; &ouml;
Small o, dieresis or umlaut mark

&#247; &divide;
Division sign

&#248; &oslash;
Small o, slash

&#249; &ugrave;
Small u, grave accent

&#250; &uacute;
Small u, acute accent


&#251; &ucirc;
Small u, circumflex accent

&#252; &uuml;
Small u, dieresis or umlaut mark

&#253; &yacute;
Small y, acute accent

&#254; &thorn;
Small thorn, Icelandic

&#255; &yuml;
Small y, dieresis or umlaut mark



file:///G|/1/0672328860/app02lev1sec13.html (5 von 5) [19.12.2006 13:50:37]
Appendix C. Cascading Style Sheet Quick Reference


Appendix C. Cascading Style Sheet Quick Reference
Cascading Style Sheets (CSS) allow for advanced placement and rendering of text and graphics on your
pages. Using style sheets, you can apply text, images, and multimedia to your web pages with great
precision. This appendix provides a quick reference to CSS1, as well as those properties and values that
are included in the CSS2 recommendation dated May 12, 1998. This is the most current version of this
document at press time.
Note
This appendix is based on the information provided in the Cascading Style Sheets, Level 2

W3C recommendation dated May 12, 1998, which can be found at
/>CSS21/.

To make the information readily accessible, this appendix organizes CSS properties in the following
order:
● Block-level properties
● Background and color properties
● Box model properties
● Font properties
● List properties
● Text properties
● Visual effects properties
● Aural style sheet properties
● Generated content/automatic numbering properties
● Paged media properties
● User interface properties
● Cascading Style Sheet units


file:///G|/1/0672328860/app03.html [19.12.2006 13:50:37]

×