ARCHIVED: How do I use special characters on my web page?

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

To use special characters such as umlauts ( ö ) or tildes ( ñ ), you need to use an escape sequence and the appropriate code for the character. In HTML the escape sequence begins with an ampersand ( & ) and ends with a semicolon ( ; ).

For example, to produce a lowercase o with an umlaut, you must enter:

  ö

You can also use the ASCII code for the character. In this case, you would enter:

  ö

Special characters also allow you to display examples of HTML tags on a web page. For the angle brackets that surround tags, enter:

  < >

For example, to display the <p> tag, enter:

  &lt;p&gt;

For a complete list of special characters, see The HTML Coded Character Set.

This is document advr in the Knowledge Base.
Last modified on 2021-09-08 10:21:19.