HTML Lesson 2

9
HTML Lesson 2

Transcript of HTML Lesson 2

Page 1: HTML Lesson 2

HTML

Lesson 2

Page 2: HTML Lesson 2

Review questions … How to change the background color How to make a list

Today in class ….

Page 3: HTML Lesson 2

What are HTML tags used for? What do HTML tags look like? What are the 3 required HTML tags? In what section of your HTML code does the

title tag go?

Review Questions

Page 4: HTML Lesson 2

Where does the title show up on your actual web page?

What are headings used for and what section of your HTML code to they go in?

How do you make text show up bold on your web page?

How do you make text show up italic on your web page?

Review Questions

Page 5: HTML Lesson 2

How to you force the browser to go to the next line?

How do you make a picture show up on your web page?

Review Questions

Page 6: HTML Lesson 2

<html>

<head><title> My page </title>

</head><body>

Hello this is my page</body>

</html>

Remember A Basic Web Page

Head section

Body section

• Tags don’t show up on the page

Page 7: HTML Lesson 2

<center> I’m in the center of the page</center>

<body bgcolor=“#XXXXXXXX”>◦ Replace the x’s with code for a specific color◦ Called hex codes◦ http://www.webmonkey.com/2010/02/color_charts/◦ Or search for html color codes

Centering and changing the background color

Page 8: HTML Lesson 2

What is you want this to show up:

My Favorite TV Shows are:1. Big Brother2. ___________3. ___________

How To Make A List

Page 9: HTML Lesson 2

Ordered(numbered) list<strong> My Favorite TV Shows </strong>

<ol> <li> Big Brother </li> <li> ____________</li> <li> ____________</li></ol>

Un-ordered (bulleted list)◦ Change the <ol> </ol> to <ul> </ul>

Lists