This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

321 points
053b72686ced3564ecbb512b3c5e1674?s=140&d=retro
Submitted by
bobbysmith
almost 4 years ago

Are 'head' tags supposed to be inside the 'html' tags or outside? It works both ways.

In the previous lesson the 'head' tags were outside of and preceded the 'html' tags, but in this lesson they are inside, but both exercises were implemented succesfully. What was the reason for the difference in the two lessons?

If there is an explanation, please incorporate it into the lesson.


2 votes

permalink

It may be a mistake but the proper code layout should be as follows:

<html>
<head>
/*You can also link to CSS, Javascript, search perimeter's and much more here.*/
<title>Your website's title goes here, and shows up in the tab.</title>
</head>
<body>
Your content goes in this area.
Tables, DIV's, Links, List's and much more.
</body>
</html>

1254 points
5191b3c21de0422ef8001116_902935148
Submitted by
Mikal Ummel
almost 4 years ago


0 votes

permalink

All Tag's No Matter What Sort Are Always In The HTML Tag

826 points
5397067480ff33b25200132d_250769213
Submitted by
Sirscribble
over 3 years ago