Special Characters

Team-Fly

You can use various special characters in an HTML document to print special character strings.

For example, the string &lt;HTML&gt; would print <HTML> on the HTML page. A selection of special HTML characters follows.

Special HTML Characters

Character

Meaning

&lt;

<

&gt;

>

&amp;

&

&quot;

&nbsp;

nonbreaking space

&reg;

®, registered symbol

&copy;

©, copyright symbol

International Aspects of HTML

One of the major enhancements in HTML 4.0 versus 3.2 is the improved ability to make documents valid in different languages. The two attributes that can be used are lang and dir. The lang attribute defines the language, and dir defines the direction of the text flow. These attributes are on all relevant elements. More information, including a complete list of language and direction codes, is available at www.w3.org.

<!—U.S. English keywords —> <meta name="keywords" lang="en-us" content="color"> <!—Canadian English keywords —> <meta name="keywords" lang="en" content="colour">

Comments

Comments are text that you want to include in the HTML document but that you do not display on the page. You can add a comment to any HTML document by using the following format:

<!—your comment here—>

Comments should not be nested and should not span multiple lines.

 


Team-Fly


Java & BAPI Technology for SAP
Java & BAPI Technology for SAP
ISBN: 761523057
EAN: N/A
Year: 1998
Pages: 199

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net