website structure games class #2

25
Website Structure

Upload: holly-akers

Post on 09-Feb-2017

188 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Website Structure Games Class #2

Website Structure

Page 3: Website Structure Games Class #2

What did we learn in the last class?

Page 4: Website Structure Games Class #2

What did we learn about websites in

November?

Page 5: Website Structure Games Class #2

HTML & TagsStructure

Page 6: Website Structure Games Class #2

HyperText

Creates links between web pages.

Page 7: Website Structure Games Class #2

Tags markup a web page

Page 8: Website Structure Games Class #2

Why Tags?<h1>Top 3 highest box-office movies</h1>

<p>These 3 movies account for more than 6 billion dollars total.</p>

<ol>

<li>Star Wars 7</li>

<li>Avatar</li>

<li>The Avengers</li>

</ol>

Top 3 highest box-office moviesThese 3 movies account for more than 6 billion dollars total.

1. Star Wars 72. Avatar3. The Avengers

Page 9: Website Structure Games Class #2

Browser

Chrome, Safari, Internet Explorer, etc

● Connects to websites to get web pages & then shows them to you.

● They allow us to read the web pages. It reads the HTML in order to form the structure of the web page.

Page 10: Website Structure Games Class #2

<title> </title>

The webpage’s title is usually shown in the tab next to the icon

Page 11: Website Structure Games Class #2

Title Tag

Page 12: Website Structure Games Class #2

<head> </head>

Title tag goes in here. And other optional tags.

Page 13: Website Structure Games Class #2

<style> </style>

Adds styles such as color to text & changes the look of other tags.

Put in head tag.

Page 14: Website Structure Games Class #2

<html><head>

<title></title><style></style>

</head><body>

<p> </p>

</body></html>

HTML Structure Order

Page 15: Website Structure Games Class #2

HTML Puzzle BoxesLet’s put them in order!

Page 16: Website Structure Games Class #2
Page 17: Website Structure Games Class #2

Hack the News

● Open your

Browser

● Type: google.com

● Type: webmaker

xray goggles

_______________________________

Page 18: Website Structure Games Class #2
Page 19: Website Structure Games Class #2

tweentribune.com

Page 20: Website Structure Games Class #2
Page 22: Website Structure Games Class #2

HTML Corners Game

<body>

Page 23: Website Structure Games Class #2

HTML Basic Tags

<html> </html>Structure of web pages using tags.

HyperText Markup Language● Links between web pages● Tags “mark up,” content so

browsers know what each piece of text means & how to represent it.

<title> </title>The webpage’s title is usually shown in the tab next to the icon

<head> </head>Title tag goes in here. And other optional tags.

Page 24: Website Structure Games Class #2

HTML Content Structure

<body> </body>Content for webpages like paragraphs & images.

<h1> <h2> <h3> <h4> <h5> <h6>● Heading number indicates importance, not

size. Don’t skip heading levels● Separate your document with headings

<p> </p>Paragraphs

<style> </style>Adds styles such as color to text & change the look of other tags. Put in head tag.

<div> </div>Division. A way to group things together. It’s like a container for HTML tag.

<ul> </ul>Unordered lists. Ex. Bulleted lists

<ol> </ol>Ordered lists. Ex. Numbered lists

<li> </li>Each item in the lists goes in a li tag

<a></a>Anchor tag. Use this to link pages or images.

Page 25: Website Structure Games Class #2

HTML Cheatsheet

Browsers: Software on your computer. Chrome, Safari, Internet Explorer, etc

● Connects to websites to get web pages & then shows them to you.

● They allow us to read the web pages. It reads the HTML in order to form the structure of the web page.

<!DOCTYPE html>Tells the browser that the file is an HTML document, instead of some other type of markup.

Important to Remember

Developer Tools: Examine, edit, & debugHTML. Right click on web pages & click Inspect or Page Source.

The Internet: Connected computers sharing information.

Syntax: Spelling & grammar programming languages. Each program defines its own rules that control which words the computer understands.

Semantics: Meaning