Balise </br>

erf -  
 erf -
Hello,

I just created a website, and I went to W3C to obtain the www, but the site shows me an error "End tag BR" (for the tag </br>), which I don't understand since the <br> tag doesn't exist (it seems to me...)

Can you help me please?
Thank you in advance and have a good day!

2 answers

  1. jordane45 Posted messages 30427 Registration date   Status Moderator Last intervention   4 832
     
    Hello,

    You can write:
    <br>

    or possibly (but not necessary..) <br />

    but definitely not
    </br>

    --
    Best regards,
    Jordane
    1
    1. erf
       
      Ah, okay, thank you very much for your (quick!) reply! :D
      0
  2. telliak Posted messages 3652 Registration date   Status Member Last intervention   885
     
    Hi,
    since the <br> tag doesn't exist
    I don't really get what you mean.
    Everything is there, in the W3C:
    HTML <br> Tag :
    The <br> tag inserts a single line break.
    The <br> tag is an empty tag which means that it has no end tag.

    Which means that the <br> tag creates a line break and that </br> doesn't exist.
    0