Skip to main content
Participant
May 9, 2020 10:42 PM UTC
Question

getting error - tag must paired,no start tag: [</img>] (in line -62, column 79,,, i am beginner

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Legend
May 10, 2020 8:15 AM UTC

Not a bad try for a beginnner. Some html tags, such as the <img> tag are 'self-closing' meaning you don't do this:

<img src="myLogo.png" alt=""></img>

You do this:

<img src="myLogo.png" alt="">

Unlike, as an example, a heading tag which does have a matching closing tag:

<h1>Heading</h1>

Translate
Participant
May 10, 2020 11:25 PM UTC

ohhh, such a god,you are for me, thanku so much  

Translate
Nancy OShea
Community Expert
Community Expert
May 9, 2020 11:51 PM UTC

Please review HTML5 syntax.  It's not the same as HTML4 or X/HTML syntax.

https://www.w3schools.com/html/html_images.asp

 

Translate
Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
May 9, 2020 11:28 PM UTC

Replace line 62 with this.

 

<img class="img-circle" href="img/blog/LOGO.jpg" alt="Company Name Logo">

 

 

Translate
Nancy O'Shea— Product User & Community Expert