The Complete Reference OMT II Mam Saima Gul. * Modern HTML has three basic forms of lists: ordered lists ( ), unordered lists ( ), and definition lists.

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

XHTML Basics. What is XHTML? XHTML is newer than the old HTML XHTML has stricter rules and does not allow some elements formerly used in HTML One benefit.
© 2004, Robert K. Moniot Chapter 6 CSS : Cascading Style Sheets.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Lists, Lists, & Lists Unordered List Ordered List Definition List.
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 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.
HTML & XHTML Web Publishing. What is HTML? HTML- Hypertext Markup Language ▫Start with text on your page & add special tags ▫These specific tags produce.
1 Lists: Bringing Order Out of Chaous Plain Text Lists List Making Tags Ordered and Unordered Lists Key Terms Review Questions.
HTML Text Tables 1 Lecture HTML: Text and Tables.
COS 125 DAY 20.
Introduction to HTML Lists Why Use Lists? Lists are one way to organize information for easy access. People are familiar with using lists to organize.
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.
HTML Notes Chapters 1--6 Codes used in creating HTML documents are called tags. Tags are always enclosed in left ( ) angle brackets. Tags can be upper.
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.
Chapter 3 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Chapter 3 Working with Text and Cascading Style Sheets.
Class 3 – Creating Lists In this lesson, you will learn to use HTML to organize your text into lists.
HTML II. Factors to consider in designing a website. Organizing your files. HTML Tables. Unordered Lists. Ordered Lists. HTML Forms. Learning Objectives.
Kevin Murphy Lists, Links and Anchors Masters Project CS 490.
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.
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.
1 Web Development Lecture # 11 Introduction to XHTML (Chapter # 4) It.GulGasht.Com.
HTML Boot Camp: Formatted Lists
Ordered Lists By Brian Christian. Ordered List Tags You use this tag when you want to start an ordered list. Each list item you write need to start with.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
How to create Web Pages. Some relevant websites ????
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
XHTML Lists and Tables XHTML provides for nested tags. Example:... and are nested inside.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Assistant Professor,UCER Naini,Allahabad
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 15: Lists.
Unordered Lists Need to make a list of items that aren't numbered? You need.
LISTS AND LINKS Explained By: Sarbjit Kaur. Lecturer, Department of Computer Application, PGG.C.G., Sector: 42, Chandigarh.
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.
© UNT in partnership with TEA1 Web Technologies Introduction to HTML Scripting.
Basic Webpage Design Formatting output using Unordered List and Ordered List tag.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
Tutorial 1 – Creating Web Pages With HTML
HTML Basics.
LAB Work 01 MBA 61062: E-Commerce
Organizing Content with Lists and Tables
Introduction to the Internet
HTML Formatting.
Cascading Style Sheets (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
Fundamentals of Web Programming
Text Elements.
COS 125 DAY 23.
Text Elements.
HTML Lists CS 1150 Spring 2017.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Text Elements.
COS 125 DAY 13.
LISTS.
Text Elements.
Presentation transcript:

The Complete Reference OMT II Mam Saima Gul

* Modern HTML has three basic forms of lists: ordered lists ( ), unordered lists ( ), and definition lists ( ).

ORDERED LISTS An ordered list, as enclosed by and, defines a list in which order matters. Ordering is typically rendered by a numbering scheme, using Arabic numbers, letters, or Roman numerals. Ordered lists are suitable for creating simple outlines or step-by- step instructions, because the list items are numbered automatically by the browser. List items in ordered and other lists are defined by using the list item element,, which doesn’t require an end tag. List items are usually indented by the browser. Numbering starts from 1. A generic ordered list looks like this: Item 1 Item 2... Item n

The element has three basic attributes, none of which are required. These are COMPACT, START, and TYPE. The COMPACT attribute requires no value. It simply suggests that the browser attempt to compact the list, to use less space onscreen. In reality, most browsers ignore the COMPACT attribute. The TYPE attribute of can be set to ‘a’ for lowercase letters, ‘A’ for uppercase letters, ‘i’ for lowercase roman numerals, ‘I’ for uppercase Roman numerals, or ‘1’ for regular numerals. The numeral 1 is the default value. Each element may have a local TYPE attribute set to a, A, i, I, or 1. Once an element is set with a new type, it overrides the numbering style for the rest of the list, unless another sets the TYPE attribute. The element also has a START attribute that takes a numeric value to begin the list numbering. Whether the TYPE attribute is a letter or a numeral, the START value must be a number. To start ordering from the letter j, you would use, because j is the tenth letter. An element within an ordered list can override the current numbering with the VALUE attribute, which is also set to a numeric value. Numbering of the list should continue from the value set.

Ordered List Example Ordered lists can be very simple. Item 1 Item 2 Item 3 Ordered lists can have a variety of types. Lowercase letters Uppercase letters Lowercase Roman numerals Uppercase Roman numerals Arabic numerals

Ordered lists can start at different values and with different types. This should be j. This should be c. Lists can nest. Nesting depth is unlimited.

* An unordered list, signified by and, is used for lists of items in which the ordering is not specific. This might be useful in a list of features and benefits for a product. A browser typically adds a bullet of some sort (a filled circle, a square, or an empty circle) for each item and indents the list. * Unordered lists can be nested. Each level of nesting indents the list further, and the bullet changes accordingly. Generally, a filled circle or solid round bullet is used on the first level of lists. * The ‘TYPE’ attribute can be used to set the bullet type for a list. The TYPE attribute may appear within the element and set the type for the whole list, or it may appear within each. * The allowed values for TYPE, as suggested by the default actions, are disc, circle, or square.

Unordered List Example Unordered lists can be nested. Bullet changes on nesting.

Bullets can be controlled with the TYPE attribute. Type can be set for the list as a whole or item by item. First item bullet shape set by UL Disc item Circle item Square item

* A definition list is a list of terms paired with associated definitions—in other words, a glossary. Definition lists are enclosed within and tags. Each term being defined is indicated by a element, which is derived from definition term. Each definition itself is defined by. Neither the nor the element requires a close tag.

Definition List Example Definitions Gadget A useless device used in many HTML examples. Gizmo Another useless device used in a few HTML examples.

* The End