LISTS.

Slides:



Advertisements
Similar presentations
LIS650 lecture 4 Thomas Krichel today Advice CSS Properties –Box properties –List properties –Classification properties Fun with selectors.
Advertisements

Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
Tutorial 3: Designing a Web Page with CSS
XHTML Basics Web pages used to be written exclusively in html
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
Lists, Lists, & Lists Unordered List Ordered List Definition List.
Pasewark & Pasewark 1 Word Lesson 5 Formatting Paragraphs and Documents Microsoft Office 2007: Introductory.
1 Word Lesson 5 Formatting Paragraphs and Documents Microsoft Office 2010 Introductory Pasewark & Pasewark.
Tutorial 4 Formatting Text. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Create a spread heading Indent text Change the line spacing.
COS 125 DAY 21. Agenda  Assignment 6 due  Assignment 7 is posted Assignment 7 Due April 2PM  Left to do 1 Assignments (8 total)  Due May 2 3.
Chapter 3 Working with Text and Cascading Style Sheets.
Word Lesson 5 Formatting Paragraphs and Documents
Cascading Style Sheets 1. About Lists HTML list code ul, ol, dldl CSS list-item style properties
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
1 Lists: Bringing Order Out of Chaous Plain Text Lists List Making Tags Ordered and Unordered Lists Key Terms Review Questions.
COS 125 DAY 23. Agenda Assignment #6 Graded 8 A’s, 4 B’s and 1 D Biggest Problem area was layout Assignment #7 Posted Due April 20 Two (one?) more to.
COS 125 DAY 20.
SSome HTML tags allow you to specify a variety of options, or attributes, along with the basic tag itself. For example, when you begin a paragraph with.
Session: 3. © Aptech Ltd. 2Formatting Text using Tags / Session 3  Explain the Heading tag  Explain the different tags related to formatting  Explain.
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.
Tutorial #4 Formatting Text and Links. Tutorial #3 Review - CSS CSS format Selector { property1: value1; /* Comments */ } Embedded, In-Line, and External.
1 Web Development Lecture # 11 Introduction to XHTML (Chapter # 4) It.GulGasht.Com.
HTML Boot Camp: Formatted Lists
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
INTRODUCTORY Tutorial 4 Exploring Graphic Elements and Images.
CSS Class 2 -Add margins to elements on a page. -Set width and height of elements. - CSS shorthand properties for box model. -Style links. -Style tables.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
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.
1 Word Lesson 5 Formatting Paragraphs and Documents Microsoft Office 2010 Introductory Pasewark & Pasewark.
The Complete Reference OMT II Mam Saima Gul. * Modern HTML has three basic forms of lists: ordered lists ( ), unordered lists ( ), and definition lists.
IS1825 Multimedia Development for Internet Applications Lecture 12: IDs, Classes and Internal CSS Rob Gleasure
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
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.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 4 Formatting Text and Links.
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.
1 Word Lesson 5 Formatting Paragraphs and Documents Microsoft Office 2010 Introductory Pasewark & Pasewark.
© UNT in partnership with TEA1 Web Technologies Introduction to HTML Scripting.
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.
CSE 102 Introduction to Web Design and Programming
WebD Introduction to CSS By Manik Rastogi.
Tutorial 1 – Creating Web Pages With HTML
CSS: Cascading Style Sheets
LAB Work 01 MBA 61062: E-Commerce
Organizing Content with Lists and Tables
Introduction to basic HTML
Session 5: HTML J 0394 – Perancangan Situs Web Program Studi Manajemen
Programming the Web using XHTML and JavaScript
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
TABLES, LISTS & IMAGES.  Tables are defined with tag.  Table is divided into rows and columns.  Table must have at least one row and one column  Table.
Text Elements.
Paragraph Formatting Lesson 4.
COS 125 DAY 23.
Text Elements.
Working with Text and Cascading Style Sheets
Introduction to XHTML Cont:.
HTML Lists CS 1150 Spring 2017.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Text Elements.
COS 125 DAY 13.
Text Elements.
Presentation transcript:

LISTS

LISTS The XHTML specifications contain special codes for creating lists of items Create lists Plain Numbered Bulleted Lists of definitions Nest one kind of list inside another

Creating Ordered and Unordered Lists Ordered list is perfect for explaining step-by-step instructions Anywhere in the body section of your HTML document Unordered lists are probably the most widely used lists on the Web <ol>…</ol>for an ordered list <ul>…</ul> for unordered list <li> … </li> for the first list item

Choosing Your Markers (Bullets) When you create a list, be it ordered or unordered, you can also choose what sort of markers (bullets or numbers) should appear to the left of each list item Markers: disc : circle : square : decimal : 1,2,3, … upper-alpha : A, B, C, … lower-alpha : a, b, c, … upper-roman : I, II, III, … lower-roman : i, ii, iii, … li { list-style-type:upper-roman; }

Choosing Where to Start List Numbering You might want to start a particular ordered list’s numbering somewhere other than 1 (default) You can determine the initial value of an entire list’s numbering scheme: To change the numbering of a given list item: <ol start=“2”> <li value=“2”>

Using Custom Markers If you get tired of circles, squares … you can create you own custom marker with an image <li class=“new”> One click page layout </li> li.new { list-style-image:url(mine.gif) }

Controlling Where Markers Hang By default, lists are indented from the left margin (of their parent) Your markers can either begin halfway to the right of that starting point inside @ outside li.new { list-style-image:url(mine.gif); list-style-position:inside }

Setting All List-Style Properties at Once CSS has a shortcut property for the list-style features To set all the list-style properties at once: li.new { list-style:url(mine.gif) inside }

Creating Definition Lists (X)HTML provides a special tag for creating definition lists e.g. a dictionary <h1> A DICTIONARY </h1> <dl> <dt>animation</dt> <dd><span class="nouns"> n </span>technique of making cartoon film</dd> </dl>

Styling Nested Lists You may insert one type of list in another This is particularly useful with an outline rendered with ordered lists, where you may want several levels of items While you can style nested lists using classes or ids, there’s an easier way

<h1> ONE, TWO, THREE, FOUR</h1> <ol> <li>One </li> <li>One, one, one</li> <li>Two, two, two</li> </ol> <li>Two </li> <li>Four, four, four</li> <li>Five, five, five</li> <li>Three, three, three</li>