Lists, Lists, & Lists Unordered List Ordered List Definition List.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

HTML 4 Hypertext Markup Language Tables, Lists & Links Science & Art Multimedia.
HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
HTML: HyperText Markup Language Hello World Welcome to the world!
XHTML Basics Web pages used to be written exclusively in html
Chapter 4 – Intermediate HTML 4 Outline 4.1 Unordered Lists 4.2 Nested and Ordered Lists 4.3 Basic HTML Tables 4.4 Intermediate HTML Tables and Formatting.
Chapter 3 Working with Text and Cascading Style Sheets.
HTML & XHTML Web Publishing. What is HTML? HTML- Hypertext Markup Language ▫Start with text on your page & add special tags ▫These specific tags produce.
Web Page Development Identify elements of a Web Page Start Notepad
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
© 2005 ComputerPREP, Inc. All rights reserved. HTML 4.0 and Web Page Design Module I.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
HTML Basics What is HTML? Basic Tags Fonts Colors Pictures Links Lists Tables Frames Good Sites.
Web page - A Web page is a simple text file that contains HTML tags (code) that describe what should be displayed on the browser. -The Web browser interprets.
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
Class 3 – Creating Lists In this lesson, you will learn to use HTML to organize your text into lists.
HTML (HyperText Markup Language)
INTRODUCTION TO HTML5 Styling Text. Change the Font Size  You can use the font-size property to change the font size for a document’s text.  Instead.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
1 Mastering the Internet and HTML Lists and List Tags.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Formatting Text and Lists Essentials for.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
Unit 1 Changing the Appearance of Text. TITLE CORNELL NOTES TOPIC: NOTES: Summary: HTML Hypertext Markup Language 1 st and last tag on a page Tags Tags.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
1 Web Development Lecture # 11 Introduction to XHTML (Chapter # 4) It.GulGasht.Com.
Essentials of HTML Class 4 Instructor: Jeanne Hart
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
HTML.
HTML Tags Lesson 2. What are HTML Tags?  Markup tags  Coded instructions that accompany the plain text of an HTML document  Syntax –Left wicket< –Tag.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
Agenda Lists Purpose Types of Lists: Unordered Ordered Definition.
XHTML Lists. There are three types of lists available in XHTML  Unordered or bulleted lists  Ordered or numbered lists  Definition or directory lists.
Formatting Text with HTML. Objectives: Students will be able to: Define the structure of the document with block elements Format numbered, bulleted, and.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML, Third Edition--Illustrated Brief 1 HTML, Third Edition Illustrated Brief Unit C Formatting Page Elements with HTML.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Assistant Professor,UCER Naini,Allahabad
The Complete Reference OMT II Mam Saima Gul. * Modern HTML has three basic forms of lists: ordered lists ( ), unordered lists ( ), and definition lists.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 15: Lists.
INT222 – Internet Fundamentals
Unordered Lists Need to make a list of items that aren't numbered? You need.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Text Elements. We've already learned about the,,,, and elements. Now let's learn some elements that we'll use to present actual text content on our web.
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.
© UNT in partnership with TEA1 Web Technologies Introduction to HTML Scripting.
Basic Webpage Design Formatting output using Unordered List and Ordered List tag.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
LAB Work 01 MBA 61062: E-Commerce
Organizing Content with Lists and Tables
HTML Formatting.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Text Elements.
Ordered & Unordered Lists in HTML
HTML Lists CS 1150 Fall 2016.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Text Elements.
Text Elements.
Working with Text and Cascading Style Sheets
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Text Elements.
LISTS.
Text Elements.
Presentation transcript:

Lists, Lists, & Lists Unordered List Ordered List Definition List

Objectives Identify HTML codes for creating unordered, ordered, nested lists, and definition lists for a web page. Place different list types within your HTML document and view the changes within your web page. Build a list of items with indented text block definitions.

Types of lists and Tags There are 4 types of lists –Ordered –Unordered –Nested –Definition Tags attributed to these lists List: Ordered: Unorderd: Definition list: Defined terms: Definition:

Unordered and Ordered Lists Unordered Lists Items preceded with a bullet. Ordered Lists Items preceded sequentially with a numbered list.

Unordered Lists Tags.. Most Widely used for the web Used to list any series of items that have no particular order (eg. List of site names) Avoid several lines of an unordered list –Attempt to summarize

Sample Web Page (unordered) My Unordered List: Item 1 Item 2 Item 3 HTML format for producing this format: My Unordered List: Item 1 Item 2 Item 3

Unordered Lists Appear as a list of items with “bullets” or markers in the front. (Usually rounded bullets by default, but can change them.) –The bullet marks will depend on the particular version of your web browser and the font specified for displaying normal WWW text. Unordered List TYPE=[ disc | square | circle ] (bullet style) …

Try it! Open your website in Notepad Create an unordered list of something that is appropriate to your website. Place this BEFORE your ending body tag or where applicable You must have at least 4 items

Ordered Lists Tags –.. Appear as a list of items with sequential numbers. Used to show steps, prioritize items, or create an outline Numbered by default (1, 2, 3,…)

Sample Web Page (ordered) My Ordered List: 1.Item 1 2.Item 2 3.Item 3 HTML format for producing this format: My Ordered List: Item 1 Item 2 Item 3

Using Type Attributes Ordered List TYPE=[ 1 | a | A | i | I ] (numbering style) … 1. Can use Alpha, Numeric, or Roman Numerals A: A, B, C a: a, b, c I: I, II, III i: i, ii, iii 1: 1, 2, 3 –When using Alphabetical numbering, there is no standard as to what can be used for the 27 th item on the list if using the English Alphabet. Unpredictable results can occur. Can reorder (eg. instead of using 1, you can start with 4)

Ordered List Changing the numbering from the default: … Will appear to be numbered “5, 6, 7, 8, …”

Try It! Create an ordered list of at least 4 items –Show me your list You can use the same list as you did previously Then change the number to an “A” or “I” –Show me your list Then reorder the list (Starting at a different number, letter, etc.)

Nested Lists Used to add a list within a list Ordered Lists and Unordered lists can have different levels. –To display different levels of hierarchy (subcategories) Each will be indented appropriately by your web browser. –Browsers will usually apply a different style to the nested list. (example: Disc for main category and open circle for subcategory.)

Nested Lists Major concern will be to verify that each list is properly terminated and the nesting order is correct. You can also mix and match list types. Indentations matter (most of the time).

Example of an Unordered List with Sublevels of other lists Nested Unordered List This is the first item. This is the second item. oThis is the first subitem of the second item And this is a subitem of a subitem Getting lost yet? oThis is the second subitem of the second item oThis is the third subitem of the second item This is the third item Nested Unordered List This the first item This is the second item. This is the first sub item of the second item. And this is a sub item of a sub item Getting lost yet? This is the second sub item of the second item This is the third sub item of the second item This is the third item

Nested Lists Mixing Together Nested Unordered List 1.This is the first item. 2.This is the second item. oThis is the first sub item of the second item 1.And this is a numbered sub item of a sub item 2.Another number sub item 3.Getting lost yet? oThis is the second sub item of the second item oThis is the third sub item of the second item 4.This is the third item Nested Unordered List This the first item This is the second item. This is the first sub item of the second item. And this is a numbered sub item of a sub item Another number sub item Getting lost yet? This is the second sub item of the second item This is the third sub item of the second item This is the third item

Try It! Create a nested list using both number and bulleted subcategories –You must have at least 4 items as main categories You can use the same list as you did previously; however you must include subcategories!

Definition Lists Unlike the lists we have seen earlier, the definition list marks its entries not with a bullet… but by its pattern of indentation.

Definition Lists Used to set text apart in the format of a glossary or dictionary. Items come in pairs –Element 1 Term to be defined –Element 2 The definition : definition list : defined terms : definition

Format for a Definition List Tag title 1 definition 1 title 2 definition 2 title 3 definition 3 Title 1 Definition 1 Title 2 Definition 2 Title 3 Definition 3

Try It! Create a definition list of at least 4 items including the “definition” for each that is relevant to your content

HTML to Produce Mineral Definition List Oxides Combinations of metal ions with Oxygen, comprises the major ores extracted in mining operations. Hematite (iron ore) Magnetite (iron ore, Magnetic mineral) Corundum (gemstone, abrasive) Sulfates Metal ions combines with the Sulfate ion (SO4), atomic structure sometimes can allow bonding of water molecules. Gypsum (plaster) Barite (drilling mud)

What it looks like in the Browser