Can a line of code contain JS, CSS, and HTML tags?¿? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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

Web

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