<tutorialjinni.com/>

HTML Slash Code

HTML Code &#47; /
CSS3 Code \002F
HTML Entity &sol;
Hex Code &#x2f;
UNICODE U+0002F
URL %26%2347%3B
Category HTML Punctuation Marks Symbols Code

Usage Examples


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