0

Why wont this code work? am i supposed to press something after i enter it or what?

so i saw on the internet that this code ul>(li>a)*5 is a shorter version of doing this <ul> <li a href=""></li> <li a href=""></li> <li a href=""></li> <li a href=""></li> <li a href=""></li> </ul> think its called a nested element. but when i type ul>(li>a)*5 it doesn't do anything.

23rd Feb 2017, 11:36 AM
Codie Richards
Codie Richards - avatar
5 Réponses
+ 4
It's a shortcut that works in Visual Studio Code or any IDE that supports Emmet http://emmet.io/
23rd Feb 2017, 11:56 AM
Marco Bimbati
Marco Bimbati - avatar
+ 2
Try Like This <ul> <li a href=""></li> <li a href=""></li> <li a href=""></li> <li a href=""></li> <li a href=""></li> </ul>
23rd Feb 2017, 11:40 AM
Yash Gohel
Yash Gohel - avatar
+ 2
then I don't know ^_^
5th Mar 2017, 4:16 PM
Yash Gohel
Yash Gohel - avatar
+ 1
so it should work on sublime text right? the video i saw the guy was using sublime text it worked for him why not mine?
23rd Feb 2017, 12:42 PM
Codie Richards
Codie Richards - avatar
0
@Yash Gohel i know how to write that code what i want to know is why this code --> ul>(li>a)*5 doesn't turn into that
23rd Feb 2017, 11:43 AM
Codie Richards
Codie Richards - avatar