Html Entities:
Some of contents are reserved in Html.If you use less than (<) or greater than (>) sign ,browser might mix them with tags.
Character entities are used to display reserved characters in Html.
Character entities looks like:
To display less than sign you should use or write < or <
Advantage of using entity name instead of number is that name is easier to remember.
Non-Breaking Space:
Common character entity used is non-breaking space in html .i.e.( ).Remember browser will always remove space in Html pages. If you write 8 spaces in your text it will remove 7 of them.You can use character entity to add real space.
Some More Useful Character Entities:
Entity names are case sensitive.
Combinig Distinguishing Marks:
Distinguishing mark is "glyph" added to letter.Some marks like grave ( ` ) and acute ( ́ ) are called accents.
Diacritical marks can appear both above and below a letter , inside a letter and between two letters.
No comments:
Post a Comment