Using entities
You might be wondering how to write < or > on a web page, given that these characters are used to indicate tagsMarkers to show the beginning and ending of an element.. There are special codes used for such characters, or entities, all with number codes and some with names. Where possible, use names instead of numbers to make your HTML easier for humans to read.
Here are a few examples.
Name | Number | Meaning |
---|---|---|
< |
< |
< |
> |
> |
> |
& |
& |
& |
" |
" |
" |
|
  |
non-breaking space |
© |
© |
the copyright symbol |
® |
® |
the registered trademark symbol |
The Help page gives links to sources for more character entities.
Note:
Hints:
- undefined
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
<html>
<head>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX