Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Unexpected closing tag "span". It may happen when the tag has already been closed by another tag. Error in the template of component HomeComponent

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 class="product-info">
              <h2 class="product-title h5 mb-0"><a href="#">Sleeve linen shirt</a></h2>
              <span class="price">
                  <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!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Your close tag for has lt; instead of <

<div class="product-info">
              <h2 class="product-title h5 mb-0"><a href="#">Sleeve linen shirt</a></h2>
              <span class="price">
                  <del>60<pre wp-pre-tag-5=""></pre></del> <!-- right here -->
                  $50.10
              </span>
          </div>
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading