HTML Special characters handling
Previous: HTML Page structure
Some characters that are used for html formatting can not be used directly in the body text. Instead, in the html code they are represented with special combination of characters. Lets take for example the less than "<" and greater than ">" characters used to mark the html tags. When the users browser read them from an HTMl page, these characters are accepted as command - as tag markup. The characters and the tag name will no show in the browser's window. To display the brackets in the browsers window, we use their entity codes. A list of most used characters entity codes:
| < | less than | < | |
| > | greater than | > | |
| non-breaking space | &nbs; | ||
| & | ampersand | & | |
| " | quotation mark | " | |
| © | copyright | © | |
| ® | trademark | ® | |
Note, when working in layout mode using WYSIWYG editor, we type the character we need and the editor automatically place in the html source code the corresponding entity code.