An error occurred when node plus express settings successfully logged in to return to the home page.

  node.js, question
<header>
 < h1 > < percentage = title percentage > < /h1 >
 </header>
 <nav>
 < span><a title= "home" href="/">home</a></span >
 < percentage if (user) {percentage >
 < span><a title= "publish" href="/post">post</a></span >
 < span><a title= "logout" href = "/logout" > logout </a > </span >
 < percentage} else {percentage >
 < span><a title= "login" href="/login">login</a></span >
 < span><a title= "register" href="/reg">register</a></span >
 < percentage} percentage >
 </nav>
 
 <article>
 < percentage if (success) {percentage >
 < div > < percentage = success percentage > < /div >
 < percentage} percentage >
 < percentage if (error) {percentage >
 < div > < percentage = error percentage > < /div >
 < percentage} percentage >

The error after running is

Express server listening on port 3000
 Error: couldnt find matching closetagfor "< percentage".
 at /home/lu/node/blog/node_modules/ejs/lib/ejs.js:519:19
 at Array.forEach (native)
 at Object.Template.generateSource (/home/lu/node/blog/node_modules/ejs/lib/ejs.js:505:15)
 at includeSource (/home/lu/node/blog/node_modules/ejs/lib/ejs.js:198:9)
 at /home/lu/node/blog/node_modules/ejs/lib/ejs.js:528:26
 at Array.forEach (native)
 at Object.Template.generateSource (/home/lu/node/blog/node_modules/ejs/lib/ejs.js:505:15)
 at Object.Template.compile (/home/lu/node/blog/node_modules/ejs/lib/ejs.js:427:12)
 at Object.compile (/home/lu/node/blog/node_modules/ejs/lib/ejs.js:288:16)
 at handleCache (/home/lu/node/blog/node_modules/ejs/lib/ejs.js:147:16)

How to crack it? ? Seek advice from a superior person

< percentage if (user) {percentage >HerePercentage >There is an extra space in it.