Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8093181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:26:55+00:00 2026-06-05T20:26:55+00:00

I have checked many questions here but none has my answer. I appreciate if

  • 0

I have checked many questions here but none has my answer. I appreciate if you direct me to the right path.

I like to make a new symbol (not a font or related to any alphabet) like creating a new language alphabets that could be recognized or translated in a browser in form of html or javascript code.

In other words, assigning single custom character for multiple characters.(e.x 1 ch translates into 5 ch)

I assume I need to make the font first and then assign that character. What programs do you suggest or what is the best approach?

Edit:
A better example:
Make a new character like ¢ (cent) that has entity name –> & c e n t; and entity number –> & # 1 6 2;

Edit 2: Thank you all for your replies. I’m trying to check your links and suggestions.As I understand, there might be an issue of browser compatibility. So how about make new symbols in a text file saved on server and when the user views the file, javascript converts those symbols into a word or other standard characters?

Edit3: Sorry for any confusion guys, you are all awesome. This example might clear things.

make a new symbol that assigns to “AB”. So one character that translates into two characters?

Edit4:
This is based on Jared answer. This does work for Z and P. Now how should I add my custom font to this file (replace Z and P with my own)?
Assuming Z and P are my custom made symbols

 <!DOCTYPE html
 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
 [
  <!ENTITY Z "AB">
 <!ENTITY P "DE">
   ...

  ]>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
<title>Extending XHTML - Example 1</title>
 </head>
  <body>
   <p>My symbols are &Z; and &P;</p>
  </body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:26:56+00:00Added an answer on June 5, 2026 at 8:26 pm

    This may be an option for you, I’m not quite sure. Pretty much, if you use XHTML and/or XLST, you could possibly achieve what you’re looking for in custom-defined characters. For example:

    <!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
    [
      <!ENTITY mailto "mailto:">
      <!ENTITY username "gabriel">
      <!ENTITY arobase "@">
      <!ENTITY hostname "gabsoftware">
      <!ENTITY tld ".com">
      <!ENTITY email "&username;&arobase;&hostname;&tld;">
    ]>
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <title>Extending XHTML - Example 1</title>
      </head>
      <body>
        <p>My email is &email;</p>
      </body>
    </html>
    

    http://jfcoder.com/test/entities.xhtml

    You’ll see the SGML ENTITY element, which by the way I believe HTML5 is no longer going to belong to anymore. Whether or not you can embed an image in those entities or through an XLST transformation to achieve your goal I haven’t figured out yet.

    For many more examples and options, see this page:

    Extending XHTML with XML, XSLT, entities, CDATA sections and JavaScript

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have already checked many questions in StackOverflow but none of them worked for
I know this question has been asked many and many times, but I have
We have many projects with several files inside each. Files can be checked in
I have checked this similar question, but the suggestions did not solve my problem:
I have checked a lot of questions on stackoverflow and I seem to have
I have checked IE8, FF 3.5 , Opera 9 none of them have support
I have checked the source codes of ASIHTTPRequest and could not make sure which
I have 2 models, Assessments and Questions. Assessments have many questions. In routes, I
I have a form with many project questions and in some of those questions
I'm sure that this question has been addressed in many best practices books, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.