Latest News

HTML Entities

Entities in HTML



Entities :
Entities are special kinds of symbols may are may not exist in keyboard. We can get the entities in 2 types. They are
  • Named Entities
  • Numerical Entities
Named Entities: By Calling the entities name it written the simple like
&Copy; = copyright
&Reg; = registration
&Trade; = trade mark
≪ = less than
&Gt = greater than
&Pound; = pound symbol
&Nbsp; = non breakable single character space(it written a single character space)
Numerical Entities: By calling the unique number of the entities we can get the symbols.
™ = TM
&#169 ;  =copyright
Script for generating numerical entities :
<script>
for (i=0; i<=255; i–)
{
document.write(i+ ‘entity symbol is #’ +i+ ‘<b>’);
}
</script>

No comments:

Post a Comment

eWeb Classes Powered by MV Innovative InfoTech Copyright © 2014

Theme images by Bim. Powered by Blogger.