AMZ DIGICOM

Digital Communication

AMZ DIGICOM

Digital Communication

HTML entities: code and special characters in HTML

PARTAGEZ

HTML entities are used to handle reserved characters in code or special characters during editing. These are specific character strings that tell the browser that a particular symbol should be displayed.

HTML Entities: what is it?

HTML entities allow you to express certain characters in an HTML document. These can be special characters that:

  • are not easily accessible with the input method used or are difficult to enter.
  • are reserved for HTML and perform a specific function during coding.

To be able to reproduce these characters without damaging the code, we use these clearly delimitable character strings. We distinguish between named entities (entity names) and digital entities (entity numbers). While named HTML entities are easier to read and remember, numeric entities are especially important when there is no named variation.

Web Hosting

State-of-the-art web hosting at the best price

  • 3x faster, 60% savings
  • High availability >99.99%
  • Only at IONOS: up to 500 GB included

Named HTML entities

HTML named entities have the following format:

To represent for example the ampersand &it must be defined in the code as & (for the English word ampersand). The following example illustrates the use of the entity:





L’esperluette ressemble à ceci : &

html

Note

The spelling of HTML entities is case sensitive. It is therefore essential to strictly respect the use of upper and lower case letters.

Numeric HTML entities

Numeric entities are used in this format:

Instead of entity_numberyou must insert the Unicode value of the desired character. If you want to write the ampersand, the string & is the right choice. Here's what it looks like in code:





L’esperluette ressemble à ceci : &

html

Domain name

Your domain in one click

  • 1 Wildcard SSL certificate per contract
  • Included Domain Connect feature for simplified DNS setup

HTML Entities: lists of main HTML entities

Whether you are just starting to learn the basics of HTML or have been using this markup language for a while, a list of the main HTML entities will be of great use to you in any case. Discover some of the most used entities later in this article.

HTML entities for punctuation

Character Description Appointed Digital
Space without line break    
. Point . .
, Comma , ,
! Exclamation mark ! !
? Question mark ? ?
& Ampersand & &
Double quotes " "
' Apostrophe ' '
# Sharp # #
( Opening of the parenthesis ( (
) Closing the parenthesis ) )
% Percentage sign % %
§ Paragraph symbol § §

HTML entities for special characters

Character Description Appointed Digital
© Copyright © ©
® Registered trademark ® ®
Registered trademark
@ At @ @
Female symbol ♀
Male symbol ♂
Hook ✓
Cross ✗

HTML entities for mathematical symbols

Character Description Appointed Digital
+ Plus sign + +
Minus sign &moins;
× Multiplication character × ×
÷ Division character ÷ ÷
= Equal character = =
< Smaller than < <
> Bigger than > >

HTML entities for different currencies

Character Description Appointed Digital
Euro
¢ Cent ¢ ¢
$ Dollar &dollar; $
£ Book £ £
¥ Yen ¥ ¥

HTML entities for accents in French

Character Description Appointed Digital
HAS With a serious capital accent À À
has has a lowercase grave accent à à
E E acute capital letter É É
e e lowercase acute accent é é
E E serious capital letter È È
e e lowercase serious accent è è
E E capital circumflex accent Ê Ê
e e lowercase circumflex accent ê ê
THIS C cedilla capital letter Ç Ç
that c cedilla tiny ç ç
Oh O capital circumflex accent Ô Ô
oh o lowercase circumflex accent ô ô
Û U capital circumflex accent Û Û
û u lowercase circumflex accent û û
Ï I capital umlaut Ï Ï
ï i tiny umlaut ï ï
Was this article helpful to you?

Go to main menu

Télécharger notre livre blanc

Comment construire une stratégie de marketing digital ?

Le guide indispensable pour promouvoir votre marque en ligne

En savoir plus

Web Marketing

ICS file: open and import calendar data

With the ICS format, you can import, export, share or publish appointments and events in digital calendars. With its worldwide usage, it is supported by

Web Marketing

What is reinforcement learning?

Reinforcement learning is a subfield of machine learning in which an agent learns, using rewards and penalties, to make optimal decisions in a given environment.

Souhaitez vous Booster votre Business?

écrivez-nous et restez en contact