Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialYamel Gutierrez
152 Pointshow to put a element tittle and where?
how to put a element tittle and where
<!DOCTYPE html>
<html>
<head>Yamel Gutierrez</head>
<head>
<meta charset="otf-8">
<tittle> Yamel Gutierrez / Diseñadora </tittle>
</head>
<body>
<header>
<section>
<p>Gallery will go here.</p>
</section>
<footer>
<p>© 2015 Yamel Gutierrez.</p>
</footer>
</body>
</html>
3 Answers
moonshine
8,449 PointsThere's only one "head
" node, which is where you include your stylesheets, scripts, and metadata.
The "title
" node goes in the "head
" node because essentially it's metadata.
<html>
<head>
<!-- Metadata -->
</head>
<body>
<!-- Page structure -->
</body>
</html>
Yamel Gutierrez
152 Pointsi dont understand, i cant pass the number 5 question :(
moonshine
8,449 PointsWell, the textual title doesn't go immediately in the head
. Assumingly you placed the title in a second head
node — instead of in a title
node — which doesn't make any sense.
Sean Lum
11,949 PointsThere were a few corrections to be made:
- Converting "otf-8" to "UTF-8", and the other being
- Converting "<tittle>" to "<title>"
- Removing the additional "<title>" tag set from the top of the page.
The resulting HTML should look like this: (if coded correctly)
<!DOCTYPE html>
<html>
<head> <!-- there can only be one head tag per web page -->
<meta charset="utf-8">
<title>Yamel Gutierrez: Yamel Gutierrez / Diseñadora</title>
</head> <!-- end head tag -->
<body>
<header>
<section>
<p>Gallery will go here.</p>
</section>
<footer>
<p>© 2015 Yamel Gutierrez.</p>
</footer>
</body>
</html>