+ 1

End tags in HTML

what happens if end tags is not given ? like <\p> is not given to any paragraph end?

1st Feb 2017, 1:50 PM
Kausthubha K
Kausthubha K - avatar
3 Respostas
+ 1
no effect the output will still b displayed
10th Feb 2017, 2:33 PM
Moses Ouma
Moses Ouma - avatar
+ 1
@proud moses: Not all the times... behaviour have great probabilities to break the page layout, and some elements can disappears, depending on context ( try to not close a </td> inside others, or a table element in general, and you will be disapointed ), as browsers attempts to correct malformed html code, but can't make miracles :P
10th Feb 2017, 2:41 PM
visph
visph - avatar