LESSON 8 Module 2: XHTML Basics Lists.

Slides:



Advertisements
Similar presentations
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
Advertisements

Unordered, Ordered, and Definition List By: Jaxson Hunter Feburary,
Beginning Web Site Creation: Dreamweaver CS4 Noreen Brown XHTML CODING -- TAGS.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 2: More HTML.
Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Create Lists  Horizontal rule (line)  Create a page for.
IT Introduction to Website Development Welcome!
Today’s Topic Language of web page - HTML (Hypertext Markup Language)
Creating List. Lesson Proper Pre-Test Post-Test References Credits.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
HTML: Hyptertext Markup Language Doman’s Sections.
IT Introduction to Website Development Welcome!
HTML.
Informatics Computer School CS114 Web Publishing HTML Lesson 1.
Presented by: Mr. Pugh’s Class 2011 Ingredients Peanut Butter Jelly Two Slices of Bread.
This shows CIS17 and the first day introduction..
HTML Review * is used as a reference for most of the notes in this powerpoint.
Lists Module 2: XHTML Basics LESSON 8. Module 2: XHTML Basics LESSON 8 Lesson Overview In this lesson, you will learn to:  Create lists using XHTML code.
Click on CIS120/17 to go to website for course. The week of will tell you what is planned for the week and what has been assigned.
Creating a Lesson Plan “Do” Activity by Janie and Saadia.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
Web Page Design XHTML Lesson 4. Adding Structure 4 A div tag –Used to divide up a web page and to add structural meaning to the page. –Will not change.
HTML 17 HTML 17. HTML 17 HTML is the language for making webpages Hypertext Markup Language You need to know the basics Questions about HTML are common.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Q.Nand1 HTML Creating an HTML Document Lesson 2. Q.Nand2 Overview Creating an HTML Document: –HTML syntax –Creating Basic Tags –Displaying Your HTML Files.
Tutorial 1 – Creating Web Pages With HTML
Internet Exploration: HTML Basics
Images, Hyperlinks, and Sound
Web Development & Design Foundations with HTML5 8th Edition
Marking Up with XHTML Tags describe how a web page should look
Organizing Content with Lists and Tables
Introduction to basic HTML
Web Development & Design Foundations with HTML5 7th Edition
Hyper text markup Language
Intro to HTML Mr. Singh.
HTML Formatting.
HTML Lesson 2.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Lists in HTML PowerPoint How to create lists in HTML
Ordered & Unordered Lists in HTML
HTML Lists CS 1150 Fall 2016.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Internet Exploration: HTML Basics
Essentials of HTML.
Essentials of HTML.
The procedure.
LESSON 8 Module 2: XHTML Basics Lists.
LESSON Extension Module 2: HTML Basics Tables.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Introduction to Cascading Style Sheets (CSS)
How to make a peanut butter & jelly sandwich
Working with Cascading Style Sheets (CSS)
Working with Cascading Style Sheets (CSS)
Websites (4).
Images, Hyperlinks, and Sound
HTML Lists CS 1150 Spring 2017.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
What is HTML?.
LESSON 1 Module 2: XHTML Basics Basic XHTML.
Marquees and Standards
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Making Web pages (3).
LISTS.
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Technologies for web publishing
Lesson 3: Organizing your material
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

LESSON 8 Module 2: XHTML Basics Lists

Lesson Overview In this lesson, you will learn to: Create lists using XHTML code. Improve readability of a Web page using lists. Lesson 8 Overview

Guiding Questions for Lesson 7 Find a Web page that uses a list. How does a list impact the readability of the page? Give 2 examples of how a list could be used in a Web page or Web site on another topic? Post one or more of these questions in an area where students can read them and allow time for students to respond to the questions. Discuss the student answers these questions.

Types of Lists Three types of lists which will be covered in this lesson: Unordered lists Ordered lists Definition lists Introduce lists by discussing the types of lists that will be covered in this module. Unordered Ordered Definition

Unordered Lists Similar to bulleted lists in word processing Items in the list have no special order Changing the order would not change the meaning of the information Example: A listing of your school subjects: Science Math Reading Unordered lists are similar to a bulleted list in word processing. These lists items are presented in no special order. If the order of the list is changed, it does not change the meaning of the information. For example, if you created a list of the subjects you are studying in school you can list them in any order. The order has nothing to do with the meaning of the list.

Creating an Unordered List <ul>…</ul> tags are used to designate the beginning and ending of an unordered list <li>…</li> tags are used to identify items to be placed in the list To create our list of school subjects, use the following XHTML code: <ul> <li>Science</li> <li>Math</li> <li>Reading</li> To create an unordered list, two tags are needed. The <ul>…</ul> tag is used to designate the beginning and ending of the unordered list, while the <li>…</li> is used to identify the items to be placed in the list. Here is the code needed to create the list of school subjects: <ul> <li>Science</li> <li>Math</li> <li>Reading</li> </ul>

Ordered Lists Use a numbering or ordering system to create meaning Changing the order changes the meaning For example: A list of the steps to make a peanut butter sandwich. Changing the order of the steps changes the outcome of the sandwich Discuss ordered lists. Ordered lists use the numbering system and give an order to the items in the list. Changing this order would mean changing the meaning of the information in the list. For example, if you created a list of steps to make a peanut butter sandwich you would need to put the steps in a certain order. Changing the order would mean changing the outcome of the steps.

Creating an Ordered List <ol>…</ol> tags are used to designate the beginning and ending of an ordered list The same <li> tag identifies items in the list Code for making a peanut butter sandwich: <ol> <li>Get a slice of bread.</li> <li>Open a jar of peanut butter.</li> <li>Spread peanut butter on the slice of bread with a knife.</li> <li>Place another slice of bread on top.</li> <li>Eat the sandwich.</li> </ol> To create an ordered list, only one of the tags needs to be changed. Instead of the <ul> tag a <ol> tag is used. The same <li> tag used to identify items in the list is used. Here is the code needed to create the steps in making a peanut butter sandwich. <ol> <li>Get a slice of bread.</li> <li>Open a jar of peanut butter.</li> <li>Spread peanut butter on the slice of bread with a knife.</li> <li>Place another slice of bread on top.</li> <li>Eat the sandwich.</li> </ol>

Definition Lists Used to define terms Different from unordered and ordered lists Has two parts – the term and the definition Labeling of the parts is very important A definition list is used when you want to define terms for the viewer. This list is a little different than unordered and ordered lists. A definition list includes two parts, the term and the definition. Of course, correct labeling of these items is very important.

Creating a Definition List A <dl>…</dl> tag identifies the beginning and ending of the list A <dt>…</dt> tag identifies the terms A <dd>…</dd> tag identifies the definitions Example of definition list coding: <dl> <dt>format</dt> <dd>the design and layout of a page</dd> <dt>source code</dt> <dd>the HTML code that creates a Web page</dd> <dt>Web page</dt> <dd>a file written in HTML, or other Web publishing language</dd> </dl> To create a definition list, a <dl>…</dl> tag is needed to identify the beginning and ending of the list. Each term is identified by a <dt>…</dt> tag and each definition is identified by a <dd>…</dd> tag. It is important to include the definition with the term so that they appear correctly on your Web page. Here is the code for a definition list for a few terms from this module: <dl> <dt>format</dt> <dd>the design and layout of a page</dd> <dt>source code</dt> <dd>the HTML code that creates a Web page</dd> <dt>Web page</dt> <dd>a file written in HTML or other Web publishing language</dd> </dl>

Lesson Review Describe the code needed to create each of the following: Unordered list Ordered list Definition list Review concepts covered if needed with the students and discuss the practice activity.

Practice: Lists Create the following changes in your “Tags and Attributes” Web page: An unordered list An ordered list A definition list Challenge Activity: Add underlining as appropriate. This is the last slide of the presentation.