# \<title\> tag mandatory?

**URL:** <https://forum.code.org/t/title-tag-mandatory/30464>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-2\
**Created:** [September 17, 2019, 12:39am UTC](https://forum.code.org/t/title-tag-mandatory/30464 "2019-09-17T00:39:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkidston](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jkidston](https://forum.code.org/u/jkidston)\
**Post date:** [September 17, 2019, 12:39am UTC](https://forum.code.org/t/title-tag-mandatory/30464/1 "2019-09-17T00:39:22Z")

</div>

The Unit 2 Chapter 1 project rubric says that every page should have a tag. I understand that it’s a good idea, but are students told that somewhere? Where? I notice that the pages they work on in the lessons sometimes do have one and sometimes don’t.

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [September 17, 2019, 2:35am UTC](https://forum.code.org/t/title-tag-mandatory/30464/2 "2019-09-17T02:35:10Z")

</div>

I’m not sure that it is explicitly taught anywhere in the [code.org](http://code.org) curriculum so that’s a good catch there. Strictly speaking, it isn’t required for the page to render properly, however, it’s the title that appears in the browser tab, so it’s at the very least a best practice to always include it. As a classroom teacher, I would always include it, but it should probably have a mention somewhere in the student instruction as well. I’ll pass it along.

Mike

---

<div class="post-metadata">

**Author:** ![mmathews](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mmathews/32/4419_2.png) [@mmathews](https://forum.code.org/u/mmathews)\
**Post date:** [September 18, 2019, 8:26pm UTC](https://forum.code.org/t/title-tag-mandatory/30464/3 "2019-09-18T20:26:25Z")

</div>

No. The tag is not mandatory. If a page has a title tag it shows up on the browser header when you view the page. See image.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/0/0a0c38a5c68871d616ba674762b2e8f43f73d036.png)  
“_CSD-Adding Favicon to your website_” that you see on the top of the browser tab is the result of adding the tag to the webpage

```auto
  <head>
    <link rel="stylesheet" href="mystyle.css">
    <title>CSD-Adding Favicon to your website</title>
    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
  </head>

```
