HTMLENTITIES
Character Entities
Character Entities
Some characters have a special meaning in
HTML, like the angle bracket (<) that defi...
Character Entities
A character entity has three parts:
• an ampersand (&)
• an entity name or a # and an entity number
• a...
Character Entities
The advantage of using a name instead of a
number is that a name is easier to remember. The
disadvantag...
Character Entities
For a comprehensive list of character
entities, visit:
http://www.w3schools.com/html/html_entitiesref.a...
Upcoming SlideShare
Loading in …5
×

Html entities

151
-1

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
151
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Html entities

  1. 1. HTMLENTITIES
  2. 2. Character Entities Character Entities Some characters have a special meaning in HTML, like the angle bracket (<) that defines the start of an HTML tag. If we want the browser to actually display these characters we must insert character entities in the HTML source, instead of the character itself.
  3. 3. Character Entities A character entity has three parts: • an ampersand (&) • an entity name or a # and an entity number • and finally a semicolon (;). To display a less than sign in an HTML document we must write: &lt; or <
  4. 4. Character Entities The advantage of using a name instead of a number is that a name is easier to remember. The disadvantage is that not all browsers support the newest entity names, while the support for entity numbers is very good in almost all browsers. Note that the entities are case sensitive.
  5. 5. Character Entities For a comprehensive list of character entities, visit: http://www.w3schools.com/html/html_entitiesref.asp
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×