Head | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1


Why does the open and closed head go right next to each other?

21st Nov 2018, 12:47 AM
Tega Akalusi
Tega Akalusi - avatar
1 Answer
+ 5
That is merely the template - if you have something to put inside, then they would not be together, however, for an html document to be valid, you must put <head> </head> (even if it's blank) for the document to be valid. Check this out: <head><title>SoloLearn</title></head> Does that clear it up for you? 😊
21st Nov 2018, 12:59 AM
Tony - avatar