Hi friends in this post I am sharing how to use special characters using html. We know in keyboard there is no copyright symbols,dollars symbol,euro symbol and also it make us difficult to display in websites.HTML entity will helps to solve this problem. Some characters are reserved such as greater than and lesser than which are used as HTML tags.And keep in mind after the end of the entity name or code should end with semicolon.
Special
CharactersDescription Entity Name Entity Number $ dollar $
non-breaking space
 
< less than << > greater than >>
& ampersand && ¢ cent¢
¢ £ pound£ £ ¥ yen¥
¥ € euro€ € © copyright© © ® registered trademark® ®
How to display special characters locally in browsers using notepad?
- Open notepad and save in html format.Name it as “special characters.html”.
- Copy and paste the below code in that “special characters.html” .
- Now open with chrome and you will get like below
<html>
<br>
sp ace
<br>
<
<br>
>
</html>
0 comments :
Post a Comment