+ 1
Quotes around the value in HTML (Single vs Double)
In HTML attribute we have name=value. Which quote is the right one to add around the *value* as per the standard rule - single or double quote?
2 Antworten
+ 4
it all depends on the situation.
if I'm not wrong there is no as per the standard way of doing.
https://stackoverflow.com/questions/273354/are-single-quotes-allowed-in-html
+ 2
Anyone you choose to use is ok.
Unlike HTML pep in python might tell you to use double quotes 😄😄.