Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the HTML character reference code for the percent sign (%)?

Tags:

html

character

I want to use the code associated to the character %. For example when we want to write é then we code é , so what is the code for % ?

like image 949
pheromix Avatar asked Oct 29 '15 13:10

pheromix


People also ask

What does the percentage sign mean in HTML?

The <percentage> CSS data type represents a percentage value. It is often used to define a size as relative to an element's parent object. Numerous properties can use percentages, such as width , height , margin , padding , and font-size .

What is the code for percent?

The ASCII code for the percent character is 37, or 0x25 in hexadecimal.


1 Answers

There are many possibilities:

&percnt;
&#x00025;
&#37;

A reference with all possible characters you find on the following site: http://dev.w3.org/html5/html-author/charref

like image 187
Sebastian Brosch Avatar answered Oct 11 '22 14:10

Sebastian Brosch