Can a line of code contain JS, CSS, and HTML tags?¿? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Can a line of code contain JS, CSS, and HTML tags?¿?

Web

21st Nov 2018, 9:29 AM
Wilberflinks
Wilberflinks - avatar
2 Respuestas
+ 5
I suppose it can if you consider this as valid: https://code.sololearn.com/W2yir860TcMJ/?ref=app
21st Nov 2018, 9:34 AM
Shadow
Shadow - avatar
0
Sure it can, we only separate it into different lines and files for readability and for maintaining the code. Here's an example: https://code.sololearn.com/WzUvo71wBO3G/#html
21st Nov 2018, 11:12 AM
Just A Rather Ridiculously Long Username