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 réponses

jordane45 Posted messages 30426 Registration date   Status Modérateur Last intervention   4 830
 
Hello,

You can write:
<br>

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

but definitely not
</br>

--
Best regards,
Jordane
1
erf
 
Ah, okay, thank you very much for your (quick!) reply! :D
0
telliak Posted messages 3652 Registration date   Status Membre 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