Jump to content

[SOLVED] <br> or <br /> ?


zero_ZX

Recommended Posts

Using <br> in XHTML markup and try to validate it. It won't validate.

 

Using <br /> in XHTML markup and try to validate it. It will validate.

 

Normaly thing's with no ending tag. Like these:

 

<input>

<img>

<br>

<hr>

 

ETC need an ending tag. So XHTML grab's the / at the end as an ending tag.

 

Well, that is what i think and i am probly 100% correct until the line above.

Link to comment
https://forums.phpfreaks.com/topic/152111-solved-or/#findComment-798946
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.