Why doesn't the site's title appear on the page?


#1

Question

In this exercise, why does the paragraph display on the page but the title “My Coding Journey” does not?

Answer

The site <title> does not display on the page because this information is contained within the document’s <head>. Unlike the body element, the <head> element contains metadata which will not be displayed by the browser. You will learn more about the head and title elements in lesson 2 so stay tuned!


FAQ: Learn HTML Elements - Intro to HTML - The Body