+ 5

[HTML] why ?

why when I see some codes, there is some programmers create a html code without the structure <html> <head> ... </head> <body> ... </body> </html> ... just.... why ? is it better ?

2nd Nov 2017, 1:00 PM
NoxFly
NoxFly - avatar
10 ответов
+ 26
je met pas de baliser tete et corp parce que sur sololearn elles ne servent a rien
2nd Nov 2017, 1:09 PM
Maxımee
Maxımee - avatar
+ 25
ouais sans le <body> ca ne marche pas sur les navigateurs 🤔🤔
2nd Nov 2017, 1:16 PM
Maxımee
Maxımee - avatar
+ 24
pourquoi moi 😭😭
2nd Nov 2017, 1:09 PM
Maxımee
Maxımee - avatar
+ 13
That's an option. you can include the entire structure or just the element, code editor still can display it. #Now i know why you ask me to include viewport meta tag in my form code, you're not clear about this 😁
2nd Nov 2017, 3:25 PM
MimTaB
MimTaB - avatar
+ 5
yes ;)
2nd Nov 2017, 3:26 PM
NoxFly
NoxFly - avatar
+ 4
Can you give an example please? A code.
2nd Nov 2017, 1:05 PM
Jonas Schröter
Jonas Schröter - avatar
+ 4
Interesting. I'm not sure, but I think this does not work In normal browsers🙃
2nd Nov 2017, 1:09 PM
Jonas Schröter
Jonas Schröter - avatar
+ 4
pcq faut que tu codes mieux ! t'as de super pojets alors code bien ! @Jonas Schröter yes I think too
2nd Nov 2017, 1:10 PM
NoxFly
NoxFly - avatar
+ 4
même pour mettre le body faut mettre le html. et la structure pour que ca marche cedt ca donc...
2nd Nov 2017, 1:17 PM
NoxFly
NoxFly - avatar