HTML Percent Sign Code |
||
HTML Code | % | % |
CSS3 Code | \0025 | |
HTML Entity | % | |
Hex Code | % | |
UNICODE | U+00025 | |
URL | %26%2337%3B | |
Category | HTML Math Equation Symbols Code | |
Usage ExamplesTo use Percent Sign in Cascading Style Sheets or CSS file use the following code.
// css3 example usage
<style>
span {
content: "\0025";
}
</style>
To use Percent Sign in in-line HTML code you can use it "as it is" but, it is recommend
that Percent Sign should be used like the following example code. Because it help in assigning special CSS to it.
<!-- html usage -->
<i>%</i>
In order to send Percent Sign via a HTML form or via a query string it should be properly encoded.
Following is the URL encoded format of Percent Sign. Do not forget to Decode it on the server side.
https: //www.tutorialjinni.com/html-symbols-entity-codes.html? html-percent-sign-code=%26%2337%3B
|