+ 2

Do we need to use the html/body/head tags? is it necessary?

But I did not deal with them in other training. I think that they are used for the beauty and orderliness of the codes and are not necessary.

23rd Jun 2019, 1:52 PM
milad miladi
milad miladi - avatar
4 Answers
+ 2
I find answer. We can not say that we do not need them, although browsers will automatically consider them.
23rd Jun 2019, 7:11 PM
milad miladi
milad miladi - avatar
+ 2
But I write code in html file without using them and it is displayed in my browser!!!
23rd Jun 2019, 6:37 PM
milad miladi
milad miladi - avatar
0
Yes, as @Bhavyana Bhav points out, they are part of the syntax of a proper html document. If this has not been part of your training, you should seek for alternatives.
23rd Jun 2019, 2:29 PM
Karsten Stiegler
Karsten Stiegler - avatar