For example, he enters: XML/HTML Code div#page>(div#header>ul#nav>li*4>a)+(div#page>(h1>span)+p*2)+div#footer Generate the following page: XML/HTML Code Copy code The code is as follows:<div id="page"> <div id="header"> <ul id="nav"> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> </ul> </div> <div id="page"> <h1><span></span></h1> <p></p> <p></p> </div> <div id="footer"></div> </div> When I recommended it to Xiao Ming in the morning, he said that Zen coding is now available for editplus. Xinxin downloaded it. After running, I found that the generated code is different from the official one. It seems that there is still room for improvement. The code generated by zen coding for editplus is: XML/HTML Code Copy code The code is as follows:<div id="page"></div> <div id="header"> <ul id="nav"> <li> <a href=""></a><div id="page"></div> <h1> <span></span><p></p> <p></p> <div id="footer"></div> </h1> </li> <li> <a href=""></a><div id="page"></div> <h1> <span></span><p></p> <p></p> <div id="footer"></div> </h1> </li> <li> <a href=""></a><div id="page"></div> <h1> <span></span><p></p> <p></p> <div id="footer"></div> </h1> </li> <li> <a href=""></a><div id="page"></div> <h1> <span></span><p></p> <p></p> <div id="footer"></div> </h1> </li> </ul> </div> This deviation from the standard is really too great. . . but. In simple cases, it can still be used. Just make do with it. It's better than nothing. |
<<: A brief discussion on the correct posture of Tomcat memory configuration
>>: Getting Started Guide to MySQL Sharding
I would like to share the Windows Server 2016 act...
What is HTML? HTML is a language used to describe...
Table of contents Deploy tomcat 1. Download and d...
This article shares the specific code of jquery+A...
New features in MySQL 8.0 include: Full out-of-th...
Preface When we were writing the web page style a...
Table name and fields –1. Student List Student (s...
ssh-secure shell, provides secure remote login. W...
Use the mysql command to connect to the MySQL ser...
The local environment is Windows 10 + WSL2 (Ubunt...
Today, CSS preprocessors are the standard for web...
Chinese Tutorial https://www.ncnynl.com/category/...
Problem Description Recently, a host reported the...
Table of contents 1. WordPress deployment 1. Prep...
I have seen a lot of MySQL-related syntax recentl...