What happens if we only write opening HTML tag? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

What happens if we only write opening HTML tag?

30th Jan 2018, 5:08 AM
Alain_paccy
Alain_paccy - avatar
2 Antworten
+ 3
By only adding opening tags, it would technically make every tag after it a child of that element. For example, if, in your body tag, you have multiple different p tags, all with no closing tag, all of the p tags will be the child of the first p tag which is a child of the body tag etc. To sum it all up, nothing really works the way it is supposed to.
30th Jan 2018, 5:11 AM
Faisal
Faisal - avatar
+ 1
it would be FUBAR
30th Jan 2018, 5:48 AM
Tim Millar
Tim Millar - avatar