0

HTML

Why is the code only in the body section not the head

21st May 2020, 2:20 PM
Muhammad Kabir
Muhammad Kabir - avatar
2 Answers
+ 2
head section is not for putting your actual HTML code that will be displayed on output (I.e. <p> tag) Head tag is used for linking external files like CSS or JavaScript to your HTML or specifying mata data about your project.
21st May 2020, 2:35 PM
Raj Chhatrala
Raj Chhatrala - avatar
0
Because it has been programmed to be like that. And because it gives excellent results while in the body section.
21st May 2020, 2:23 PM
Ikhuoria .E. Josephine
Ikhuoria .E. Josephine - avatar