Home > front end >  HTML single and double quotes
HTML single and double quotes

Time:09-23

The following code inside can't run without a single quotation marks with double quotes, want to ask is why, single and double quotes in HTML or what's the difference?


Input to calculate formula: & lt; Input name='formula' type='text' id='formula' size="40" & gt;

CodePudding user response:

In principle is not affected, should be your wrong elsewhere, such as the Angle of half Angle and so on,

CodePudding user response:

Estimation is you are single and double quotes the cross reference so wrong generally do not have what problem

CodePudding user response:

There is no difference between

CodePudding user response:

Single quotation marks used in double quotes, double quotes can't set in single quotes

CodePudding user response:

The only seems to pay attention to is JS operation string display 'and "form and heart before characters

CodePudding user response:

Ok, I probably know, thanks you. Hee hee

CodePudding user response:

As long as there is no difference between in pairs, but general advice in HTML to use double quotes, using only in js,
  • Related