Top Banner
1 Making Your Own Making Your Own Website Website
72

Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

Mar 25, 2018

Syntax: name ..." href="https://cupdf.com/download/making-your-own-website-programming-a-few-words-about-yourself-linking-to" class="btn-download btn-primary">Download

Documents

vuongxuyen
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

1

Making Your Own Making Your Own WebsiteWebsite

Page 2: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

2

What happens when you visit a website?

What does your web browser do?

Page 3: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

3

What's that on top?

Page 4: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

4

http:// www.w3.org /community/webed/wiki/Main_Page

You

Page 5: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

5

http:// www.w3.org /community/webed/wiki/Main_Page

You

The World Wide Web

Page 6: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

6

http:// www.w3.org /community/webed/wiki/Main_Page

www.w3.org

You

The World Wide Web

Page 7: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

7

http:// www.w3.org /community/webed/wiki/Main_Page

www.w3.org

You

The World Wide Web

/community/webed/wiki/Main_Page

Page 8: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

8

Page 9: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

9

Page 10: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

10

● Connect to Wifi: Public● Copy orion directory from USB key to computer● Open “editor” page on your computer● Write a few words about yourself

● No computer?– Make your web pages using http://jsbin.com or

http://jsfiddle.net

Page 11: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

11

Page 12: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

12

<p>words</p>

Page 13: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

13

● Demo1 (paragraphs)– <p>I like coding.</p>– <p>This is my first web page.</p>

● Demo2 (headings)– <h1>Me</h1>– <p>I like coding.</p>– <p>This is my first web page.</p>– <h2>Favourite Things</h2>– <p>I like candy</p>

Page 14: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

14

● Demo3 (spans—no new line)– <b>, <i>

● Demo4 (things that don't show)– <title>

● Demo5 (empty tags)– <hr/>, <br/>

Page 15: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

15

● Demo6 (lists—tags inside tags)– <ol> <li>– <ul> <li>

● Other things to try– <table><tr><td>, <blockquote>

Page 16: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

16The InternetThe Internet

Page 17: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

17

● Demo (images and attributes)– <img src=" … "/>

● Finding images on the Internet– Right-click image– Open image in a new window– Copy the URL

Page 18: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

18

● Demo (links)– <a href=" … "/>

● Linking to pages on the Internet● Making a website of multiple pages

Page 19: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

19

Page 20: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

20

STYLE

Page 21: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

21

● Demo (style)– <p style="text-align: center; font-size: 200%"/>

● Syntax: name: value;● Multiple styles together

Page 22: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

22

● Demo (fonts)– font-size: 150%, 2em, 50px– text-align: center;– font-family: sans-serif;

Page 23: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

23

color: red;background-color: blue;

color: rgb(255, 100, 0);

Page 24: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

24

How do we set the colour of the

background?

Page 25: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

25

● Demo (body)– Put all things that can be seen in a body tag– Then style the body tag

● Demo (proper organization)– Put all things that can be seen in a body tag– Things that can't be seen in a head tag– Everything in an html tag– Doctype on top

Page 26: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

26

This grey box has more than one paragraph in it.

What tags should we use?

Page 27: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

27

This grey box has more than one paragraph in it.

What tags should we use?

Page 28: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

28

This grey box has more than one paragraph in it.

What tags should we use?

<p>This grey box has more than one paragraph in it.</p>

<p>What tags should we use?</p>

Page 29: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

29

<p style="border: 1px solid black;"><p>This grey box has more than one paragraph in it.</p>

<p>What tags should we use?</p></p>

This grey box has more than one paragraph in it.

What tags should we use?

Page 30: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

30

<div style="border: 1px solid black"><p>This grey box has more than one paragraph in it.</p>

<p>What tags should we use?</p></div>

This grey box has more than one paragraph in it.

What tags should we use?

Page 31: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

31

Page 32: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

32

<p>I like</p>

<ul> <li>Candy</li> <li>Toys</li> <li>Bikes</li> <li>Cookies</li></ul>

<p>I like</p>

<ul> <li style="background-color: lightgrey; padding 0.5em; padding-left: 0.5em; border-radius: 0.5em; margin: 0.25em;">Candy</li> <li style="background-color: lightgrey; padding 0.5em; padding-left: 0.5em; border-radius: 0.5em; margin: 0.25em;">Toys</li> <li style="background-color: lightgrey; padding 0.5em; padding-left: 0.5em; border-radius: 0.5em; margin: 0.25em;">Bikes</li> <li style="background-color: lightgrey; padding 0.5em; padding-left: 0.5em; border-radius: 0.5em; margin: 0.25em;">Cookies</li></ul>

Page 33: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

33* image from Allie Brosh http://hyperboleandahalf.blogspot.com/

Page 34: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

34

● Demo (stylesheets)– Want to style all the paragraphs– Use a style tag– Selectors for styling different tags

● Style the paragraphs● Style the <i> and <b>

Page 35: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

35

● Demo (classes)– Apply style to more than one paragraph or list item– Use class

Page 36: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

36

● Happy Web Page Building● Other things to look at:

– MDN or w3schools for reference information● Lookup HTML tags and CSS

– Accessibility– Best practices and proper organization– Box model– Animation

Page 37: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

1

Making Your Own Making Your Own WebsiteWebsite

Page 38: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

2

What happens when you visit a website?

What does your web browser do?

Page 39: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

3

What's that on top?

● What's that funny stuff at the top of your browser?● It's a URL ● It's an “address” of a file on the Internet

Page 40: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

4

http:// www.w3.org /community/webed/wiki/Main_Page

You

● What happens when you look at a web page● http://

● Look for things on the world wide web● (also: file: mailto: news: gopher: ftp:

● www.w3.org● Name of the computer where files are

● /community/webed/wiki/Main_Page● Which file on that computer

Page 41: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

5

http:// www.w3.org /community/webed/wiki/Main_Page

You

The World Wide Web

● What happens when you look at a web page● http://

● Look for things on the world wide web● (also: file: mailto: news: gopher: ftp:

● www.w3.org● Name of the computer where files are

● /community/webed/wiki/Main_Page● Which file on that computer

Page 42: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

6

http:// www.w3.org /community/webed/wiki/Main_Page

www.w3.org

You

The World Wide Web

● What happens when you look at a web page● http://

● Look for things on the world wide web● (also: file: mailto: news: gopher: ftp:

● www.w3.org● Name of the computer where files are

● /community/webed/wiki/Main_Page● Which file on that computer

Page 43: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

7

http:// www.w3.org /community/webed/wiki/Main_Page

www.w3.org

You

The World Wide Web

/community/webed/wiki/Main_Page

● What happens when you look at a web page● http://

● Look for things on the world wide web● (also: file: mailto: news: gopher: ftp:

● www.w3.org● Name of the computer where files are

● /community/webed/wiki/Main_Page● Which file on that computer

Page 44: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

8

● File is copied to your computer and shown on the screen● Can be any file● Pictures, videos, word processor files, games, etc.● The main type of file is called HTML

● What is HTML?● Hypertext markup language

● Basically a word processor file

Page 45: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

9

● Let's start making a web page● Think about something you want to write about

● Write about yourself● Page about your favourite movie or team● Fake company

● We'll use the Orion editor to make some pages● Write your HTML code on left, the web page

shows up on right● Start writing some stuff

● My name is ____. I like _____

Page 46: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

10

● Connect to Wifi: Public● Copy orion directory from USB key to computer● Open “editor” page on your computer● Write a few words about yourself

● No computer?– Make your web pages using http://jsbin.com or

http://jsfiddle.net

Page 47: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

11

● Why is everything all on one line?● HTML normally puts everything together

● You need to “markup” what everything is

Page 48: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

12

<p>words</p>

● Use tags to “markup” your HTML● <p> some stuff here </p>

● Tells the computer what the different parts of your document is

● Has a start and an end tag● Angle brackets with the name of what's inside● <p> for paragraph

● Start paragraph, end paragraph

Page 49: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

13

● Demo1 (paragraphs)– <p>I like coding.</p>– <p>This is my first web page.</p>

● Demo2 (headings)– <h1>Me</h1>– <p>I like coding.</p>– <p>This is my first web page.</p>– <h2>Favourite Things</h2>– <p>I like candy</p>

Page 50: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

14

● Demo3 (spans—no new line)– <b>, <i>

● Demo4 (things that don't show)– <title>

● Demo5 (empty tags)– <hr/>, <br/>

Page 51: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

15

● Demo6 (lists—tags inside tags)– <ol> <li>– <ul> <li>

● Other things to try– <table><tr><td>, <blockquote>

Page 52: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

16The InternetThe Internet

● What is the most important thing on the Internet?● Cat pictures

● How do we get pictures on our web pages?

Page 53: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

17

● Demo (images and attributes)– <img src=" … "/>

● Finding images on the Internet– Right-click image– Open image in a new window– Copy the URL

Page 54: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

18

● Demo (links)– <a href=" … "/>

● Linking to pages on the Internet● Making a website of multiple pages

Page 55: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

19

● Very basic online resume● How do we make this web page?

Page 56: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

20

STYLE

● So far, our web pages look pretty plain● How do we jazz it up and make it look awesome?

Page 57: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

21

● Demo (style)– <p style="text-align: center; font-size: 200%"/>

● Syntax: name: value;● Multiple styles together

Page 58: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

22

● Demo (fonts)– font-size: 150%, 2em, 50px– text-align: center;– font-family: sans-serif;

Page 59: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

23

color: red;background-color: blue;

color: rgb(255, 100, 0);

● Colours● color: red;● Different colour names:

● Red, green, blue, etc.● Also, rgb(100, 100, 100)

Page 60: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

24

How do we set the colour of the

background?

Page 61: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

25

● Demo (body)– Put all things that can be seen in a body tag– Then style the body tag

● Demo (proper organization)– Put all things that can be seen in a body tag– Things that can't be seen in a head tag– Everything in an html tag– Doctype on top

● How do you change the background of the whole document?● Use some extra tags

● <html> around everything● <head> around stuff that you don't want shown● <body> around all the stuff you want shown● <!doctype html> just because

● example● Then apply style to body or html

● html {...}

Page 62: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

26

This grey box has more than one paragraph in it.

What tags should we use?

● Some things aren't really paragraphs● Usually use <div> instead of paragraphs

● Use <div> for things that start a new line● Usually use <span> for smaller changes

● Use <span> for words when a new line shouldn't be created

Page 63: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

27

This grey box has more than one paragraph in it.

What tags should we use?

● Some things aren't really paragraphs● Usually use <div> instead of paragraphs

● Use <div> for things that start a new line● Usually use <span> for smaller changes

● Use <span> for words when a new line shouldn't be created

Page 64: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

28

This grey box has more than one paragraph in it.

What tags should we use?

<p>This grey box has more than one paragraph in it.</p>

<p>What tags should we use?</p>

● Some things aren't really paragraphs● Usually use <div> instead of paragraphs

● Use <div> for things that start a new line● Usually use <span> for smaller changes

● Use <span> for words when a new line shouldn't be created

Page 65: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

29

<p style="border: 1px solid black;"><p>This grey box has more than one paragraph in it.</p>

<p>What tags should we use?</p></p>

This grey box has more than one paragraph in it.

What tags should we use?

● Some things aren't really paragraphs● Usually use <div> instead of paragraphs

● Use <div> for things that start a new line● Usually use <span> for smaller changes

● Use <span> for words when a new line shouldn't be created

Page 66: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

30

<div style="border: 1px solid black"><p>This grey box has more than one paragraph in it.</p>

<p>What tags should we use?</p></div>

This grey box has more than one paragraph in it.

What tags should we use?

● Some things aren't really paragraphs● Usually use <div> instead of paragraphs

● Use <div> for things that start a new line● Usually use <span> for smaller changes

● Use <span> for words when a new line shouldn't be created

Page 67: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

31

● Clashing flower page with sidebar and bleeded photos

● How can we lay this out?

Page 68: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

32

<p>I like</p>

<ul> <li>Candy</li> <li>Toys</li> <li>Bikes</li> <li>Cookies</li></ul>

<p>I like</p>

<ul> <li style="background-color: lightgrey; padding 0.5em; padding-left: 0.5em; border-radius: 0.5em; margin: 0.25em;">Candy</li> <li style="background-color: lightgrey; padding 0.5em; padding-left: 0.5em; border-radius: 0.5em; margin: 0.25em;">Toys</li> <li style="background-color: lightgrey; padding 0.5em; padding-left: 0.5em; border-radius: 0.5em; margin: 0.25em;">Bikes</li> <li style="background-color: lightgrey; padding 0.5em; padding-left: 0.5em; border-radius: 0.5em; margin: 0.25em;">Cookies</li></ul>

● Adding style to lots of things is hard work● Here, we have a list, and we want to style each

item of the list● Lots of code!

● Is there a better way?

Page 69: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

33* image from Allie Brosh http://hyperboleandahalf.blogspot.com/

Page 70: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

34

● Demo (stylesheets)– Want to style all the paragraphs– Use a style tag– Selectors for styling different tags

● Style the paragraphs● Style the <i> and <b>

● Applying style to more than one thing● Use stylesheets● Allows you to use a style on everything that

matches a pattern● <style>...</style>

● p {…}● i {...}

Page 71: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

35

● Demo (classes)– Apply style to more than one paragraph or list item– Use class

● Applying styles to only some paragraphs● You can label paragraphs with a class● <p class="big">Huge Text</p>● Then style it with

● p.big { font-size: 300%; }

Page 72: Making Your Own Website - Programming Basics a few words about yourself ... Linking to pages on the Internet Making a website of multiple pages. 19. 20 ... 200%"/> Syntax: name ...

36

● Happy Web Page Building● Other things to look at:

– MDN or w3schools for reference information● Lookup HTML tags and CSS

– Accessibility– Best practices and proper organization– Box model– Animation