Zen coding for editplus example code description

Zen coding for editplus example code description
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

Recommend

Windows Server 2016 Standard Key activation key serial number

I would like to share the Windows Server 2016 act...

Introduction to HTML_PowerNode Java Academy

What is HTML? HTML is a language used to describe...

jQuery+Ajax to achieve simple paging effect

This article shares the specific code of jquery+A...

The role of MySQL 8's new feature window functions

New features in MySQL 8.0 include: Full out-of-th...

Tutorial on how to modify element.style inline styles

Preface When we were writing the web page style a...

Mysql Sql statement exercises (50 questions)

Table name and fields –1. Student List Student (s...

Ubuntu starts the SSH service remote login operation

ssh-secure shell, provides secure remote login. W...

mySQL server connection, disconnection and cmd operation

Use the mysql command to connect to the MySQL ser...

Detailed process of deploying Docker to WSL2 in IDEA

The local environment is Windows 10 + WSL2 (Ubunt...

A preliminary understanding of CSS custom properties

Today, CSS preprocessors are the standard for web...

Basic tutorial on controlling Turtlebot3 mobile robot with ROS

Chinese Tutorial https://www.ncnynl.com/category/...

How to handle the tcp_mark_head_lost error reported by the Linux system

Problem Description Recently, a host reported the...

Implementation of Docker Compose multi-container deployment

Table of contents 1. WordPress deployment 1. Prep...