<tutorialjinni.com/>

HTML Ampersand Code

HTML Code &#38; &
CSS3 Code \0026
HTML Entity &amp;
Hex Code &#x26;
UNICODE U+00026
URL %26%2338%3B

Usage Examples


To use Ampersand in Cascading Style Sheets or CSS file use the following code.
// css3 example usage
<style>
    span {
      content: "\0026";
    }
</style>
To use Ampersand in in-line HTML code you can use it "as it is" but, it is recommend that Ampersand should be used like the following example code. Because it help in assigning special CSS to it.
    <!-- html usage -->
    <i>&#38;</i>
In order to send Ampersand via a HTML form or via a query string it should be properly encoded. Following is the URL encoded format of Ampersand. Do not forget to Decode it on the server side.
    http://www.tutorialjinni.com/html-symbols-entity-codes.html?html-ampersand-code=%26%2338%3B
© Tutorial Jinni