What is the difference between these ? Is the quotation marks really important? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between these ? Is the quotation marks really important?

<align="right" > and <align=right>

19th Jun 2018, 1:59 PM
Fong yi Jiang
Fong yi Jiang - avatar
3 Answers
+ 6
You must use the "quotes" to specify the value of an element, which in this case is <align>. You may be able to get away with it with certain browsers, but it's good practice just to do it the right way. Cheers.
19th Jun 2018, 2:10 PM
Tony
Tony - avatar
+ 2
Or you can use single quotes. id='thing1'
19th Jun 2018, 2:19 PM
Zeke Williams
Zeke Williams - avatar
0
Sorry,but I still cannot understand why the Quote doesn't Make some differences
19th Jun 2018, 2:16 PM
Fong yi Jiang
Fong yi Jiang - avatar