# Special Characters of HTML5

HTML5, Web Development / Monday, July 30th, 2018

# HTML5 Special Characters:

Here we will learn about HTML5 Special Characters. You have seen that there are certain characters that have special meaning in HTML code. For example, the “<” and “>” characters delimit tags. If you want to display such characters on the web page, you have to take care that the characters are not interpreted and are displayed literally. To display the “<” character, it can be specified as “&lt”. The “&” interprets the “lt” as the “<” symbol and displays it. But now what if you want to display the  & symbol itself? Simply writing “&” in the code will not display it. But first, let us see how to display some special characters.

Consider the example shown in below and also look at Table.

<!DOCTYPE html>
<html>
<title>HTML5 Special Characters</title>
<body>
This is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Used for&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; blank space.
<BR>
&lt;  is the Less Than symbol <BR>
&gt; is the Greater Than symbol <BR>
&amp; is the ampersand symbol <BR>
&quot; is the quotation mark symbol <BR>
&agrave; is small a, grave accent symbol <BR>
&Agrave; is capital a, grave accent symbol <BR>
&ntilde; is small n, tilde symbol <BR>
&Ntilde; is capital n, tilde symbol  <BR>
&uuml; is the umlaut small u symbol <BR>
&Uuml; is the umlaut <BR>
&#144; is the symbol Delta<BR>
&#188; is the quarter symbol <BR>
&#189; is the hay symbol <BR>
</body>
</html>

The special characters shown in the example are some of the most frequently used characters displayed on web pages. Each of the special characters can be displayed by using its character sequence after the “&”. These can be seen in the following Table.

 Special Character Character Symbol Description < < Less-than symbol > > Greater-than symbol & & Ampersand “ " Quotation Mark   Blank space à à small a, grave accent À À capital A, grave accent Ñ Ñ capital N, tilde ü ü umlaut small u Ü Ü umlaut capital U ∆  Delta ¼ ¼ One Fourth ½ ½ Half

The browser will display your text in a steady stream unless you tell it to do so otherwise with line breaks. It will reduce any amount of white space to a single space. If you want more spaces, you must use the space character (&nbsp;). If you hit Return (or Enter) while you are typing, the browser will interpret that as a space unless there is already a space there.

;