Home > Back-end >  Unexpected closing tag "span". It may happen when the tag has already been closed by anoth
Unexpected closing tag "span". It may happen when the tag has already been closed by anoth

Time:06-22

I have downloaded a source code from Github. There is an error in home.component.html file. The error is associated with span element. The code is below:

<div >
              <h2 ><a href="#">Sleeve linen shirt</a></h2>
              <span >
                  <del>60<pre wp-pre-tag-5=""></pre>lt;/del>
                  $50.10
              </span>
          </div>

Someone, please let me know the fix here. I really appreciate it!

CodePudding user response:

Your close tag for has lt; instead of <

<div >
              <h2 ><a href="#">Sleeve linen shirt</a></h2>
              <span >
                  <del>60<pre wp-pre-tag-5=""></pre></del> <!-- right here -->
                  $50.10
              </span>
          </div>
  • Related