Posted by: tumocurriculum on: October 19, 2009

QUESTION: Hover over the ABOUT NASA link on the top. What is the 6th item in the list that opens up?
- What NASA Does
- NASA Locations
- NASA Calendar
- Interactive Features
Use your mouse to hover over other items on the website. What is the only thing that doesn’t move when you hover over it on the homepage?

How do you think we can get our text from Notepad onto the web?
- A. We can highlight and change the text on an existing website, like we do in Notepad
- B. We have to make a special function that the web browser will understand
- C. We send an email to someone else to do it
- D. We drag and drop the text from Notepad to the web browser
- ANSWER: The web works differently than Notepad. To get the text to show up on a web browser, we must put the words into a format that the web browser understands. Try highlighting the text and hitting the “DELETE” button on your keyboard:
Nothing happens. So what IS the format that the web browser understands?

While you have the selector cursor active, hover over each of the “Student” list items. Notice how the code changes on the bottom left. We want our list to appear on the web like the “Students” list, so let’s see what is making that work… Click on the list element when your highlighted area looks like this:
[HELP ITEM]: Are you having trouble with the selector? The selector works like this: if you click it once, your cursor becomes the selector. You can hover over as many items as you’d like, and the selector will find and display the code for those items. Then once you click on one of the items, the selector locks, and your cursor returns to its normal function. Unless you click the selector again, your mouse cursor will act as it normally does. (Watch this movie to see how to use this tool if you’re having trouble.)
)
Don’t worry, you’re not changing the site at all. No one but you is seeing these changes. That’s the beauty of this tool, the website changes only happen on your computer and when you turn it off, the site goes back to normal!
Remember when you hovered over the items on the homepage – some moved, opened up, etc? That was what the USER sees. The code that you’re seeing now makes the site work right. This is what the DEVELOPER writes to build the website.
QUESTION: Now, look back at the code you deleted – find the following text: <li> </li>. These are open and close tags in HTML. What do you think these tags stand for?
- A. line item
- B. link
- C. little item
- D. list item
ANSWER: The answer is “D. list item” because it is displaying one of many items in a list format. There can be as many items in a list as you need there to be for your particular webpage.
Look at this website here:
. This is the W3Schools site, it describes the different types of tags in more detail. You can try HTML yourself.

Notice back on the NASA site that there is another tag that opens and closes around the <li></li> tags. Look back there now to see what that is:
- A. <ul></ul>: Unordered List
- B. <p></p>: Paragraph
- C. <h1></h1>: Header (this is used for titles on the page)
- D. <a></a>: Links (this makes text clickable)
ANSWER: A. Unordered list. This code creates a bulleted list. Again, you can put as many list items inside of it as you need.


Now test it out. Copy/Paste your text into Try-it editor to see what it looks like: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro (*show video*)
[Side Help Note]: Make sure that the file extensions are appearing in your File Manager – the file name should display in full, i.e. “planets-galaxy.txt”, not “planets-galaxy”. If it is not, check your settings – go to Tools/Folder Options. Click on the “View” tab. Make sure that the box to “Hide Extensions…” is unchecked. You will find it here:
You want to rename your file, and you can do this one of two ways. You can Right Click and select “Rename” or click on the file and hit “F2″. When the file name is editable, highlight the extension of the file and change it from “.txt” to “.html”
Your file can now be read by the web browser, because it is in a format that the web browser can understand (See Terminology Activity to learn more about file formats).
