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 6859963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:20:58+00:00 2026-05-27T02:20:58+00:00

For example it looks like escape chars depend on language – HTML and Javascript

  • 0

For example it looks like escape chars depend on language – HTML and Javascript for example do not have the same escape chars. Why not? It would be easier since sometimes it’s difficult to know whether you are dealing with HTML or Javascript and therefore it would simplify if escape sequences would be same for many languages.

Thank you for any comment or answer

  • 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-05-27T02:20:58+00:00Added an answer on May 27, 2026 at 2:20 am

    It’s mostly a matter of using a character that isn’t needed for much in the rest of the language, combined with legacies arising from languages that had no idea they would eventually coexist. SGML, the predecessor of HTML, is older than Javascript. Javascript, in turn, wants to look like Java/C++/C, so it wants to use & to mean “and”. &tc…

    When something new comes along, there’s a very high premium placed on it being similar to whatever’s already in use, to reduce the learning curve, thereby increasing adoption rate, thereby avoiding new-thing infant mortality. It’s also easier to implement a language that’s similar to one that already has implementations.

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

Sidebar

Related Questions

HI I have an example document that looks like <ItemEntry> <PurchaseDate>2010-03-18T20:36:32.81108+13:00</PurchaseDate> <StoreGUID>0a0324ad-5f99-486a-a2d0-870bc6991e9f</StoreGUID> <ExpiryDate />
I have a PHP array which looks like this example: $array[0][0] = 'apples'; $array[0][1]
I have a data file that looks like the following example. I've added '%'
I have a page, URI looks like this: http://domain.example.com/Profiles/Profile.aspx?username=blah#blahtab When that fragment (#blahtab) is
I've got some XML, for example purposes it looks like this: <root> <field1>test</field1> <f2>t2</f2>
I want to have my site urls look like http://example.com/place/info?var=info&morevars=ifneeded Place and info are
I've seen a number of examples that have a thread procedure that looks like
I have a string that consists of some text \\computername.example.com\admin$. How would I do
I have a DOM situation that looks like this: A is an ancestor of
question related to this I have a string a\;b\\;c;d which in Java looks like

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.