+ 1

What is the advantage of <head></head>?

18th Dec 2019, 8:13 PM
Abdirashid Hassan Abdi
Abdirashid Hassan Abdi - avatar
2 Réponses
+ 1
the <head> tag is a compulsory part of your html code. The head tag holds/contains some details about your code/webpages which are not visible on the webpage's body. Examples are: 1) Title: Defines the title of the webpage, visible are the browser's title/address bar and bookmarks. 2) Meta: contains some details for the browser (e.g, auto refresh) and search engines (e.g name, author, description, keywords, e.t.c) 3) Style: this contains your css code for the webpage styling. Benefits of using head 1) you'll get indexed by search engines 2) your webpage logo/icon is linked in the head 3) your internal css also stays inside the head tag. 4) scripts in the head are loaded first.
19th Dec 2019, 5:21 AM
Samagidi Victor - Vikksy
Samagidi Victor - Vikksy - avatar
0
there are no advantages. this is a mandatory and integral part of the HTML
18th Dec 2019, 9:53 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar