Can a line of code contain JS, CSS, and HTML tags?Āæ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

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

Web

21st Nov 2018, 9:29 AM
Wilberflinks
Wilberflinks - avatar
2 Respostas
+ 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