To explore HTML tags and attributes related to lists and other organizational elements.
Web Programming book reading for THIS class
section
, article
,
and aside
Elementsnav
and a
Elementsheader
and footer
ElementsWeb Programming book reading for NEXT class
thead
and tbody
ElementsDistribute Mid-Course Evaluation form
Questions from our last class or the readings?
Bulleted (unordered) lists:
<ul> <li>first item</li> • first item <li>second item</li> • second item <li>third item</li> • third item </ul>
<ul>
must be closed with </ul>
<li>
must be closed with </li>
type
attribute on <ul>
tags:
"disc"
, "circle"
,
or
"square"
Numbered (ordered) lists:
<ol> <li>first item</li> 1. first item <li>second item</li> 2. second item <li>third item</li> 3. third item </ol>
type
attribute on <ol>
tags: "A"
,
"a"
, "I"
, or "i"
and many more<ol type="a"> <li>first item</li> a. first item <li>second item</li> b. second item <li>third item</li> c. third item </ol><ol type="I"> <li>first item</li> I. first item <li>second item</li> II. second item <li>third item</li> III. third item </ol>
start
attribute<ol start="6"> <li>first item</li> 6. first item <li>second item</li> 7. second item <li>third item</li> 8. third item </ol>
Nested lists
Definition Lists
<dl>...</dl>
(definition list) tags <dt>...</dt>
(definition term) tags
<dd>...</dd>
(definition
description) tags<dt>
and <dd>
tags typically
alternate in the definition list so that each description follows the term that it
describesDefintion List Example — this text is in the PRO Manual on page 19
Mail Guidelines
Inform anyone you think will send you mail about these regulations.
- GREETING CARDS
- Greeting cards are now allowed because they are all photocopied. The only exception is those with glitter or foreign substances due to the damage that it can cause to the machine.
- DRAWINGS
- All drawings will be photocopied if they are on standard paper.
- The only drawings that will be color copied are those from children.
- PHOTOGRAPHS
- Photographs that arrive from verifiable photo-printing companies do NOT need to be photocopied.
- All other photos will be copied on double sided paper.
- PUBLISHED MATERIAL
- Though material printed from the Internet is permitted, photocopies of published and/or copyrighted materials from a book or magazine are not allowed.
- PAGE LIMITS
- Mail is limited to 10 pages per envelope, but double-sided printing is okay and counts as one page. Stapled papers are not allowed.
- MAIL HOLD TIMES
- Any mail sent through the US postal service or mail carrier will be photocopied before being delivered to the resident.
- The original correspondence will be kept for 10 business days then destroyed.
- If there is any issue with the copying of the original correspondence, please send the original copy and an Inmate Request Slip to the the Mailroom.
(See page 7 for electronic messaging through GTL tablet service.)
1 <h2>Mail Guidelines</h2> 2 <p><em>Inform anyone you think will send you mail about these 3 regulations.</em></p> 4 <dl> 5 <dt>GREETING CARDS</dt> 6 <dd>Greeting cards are now allowed because they are all photocopied. 7 The only exception is those with glitter or foreign substances due to 8 the damage that it can cause to the machine.</dd> 9 <dt>DRAWINGS</dt> 10 <dd>All drawings will be photocopied if they are on standard paper.</dd> 11 <dd>The only drawings that will be color copied are those from 12 children.</dd> 13 <dt>PHOTOGRAPHS</dt> 14 <dd>Photographs that arrive from verifiable photo-printing companies 15 do NOT need to be photocopied.</dd> 16 <dd>All other photos will be copied on double sided paper.</dd> 17 <dt>PUBLISHED MATERIAL</dt> 18 <dd>Though material printed from the Internet is permitted, photocopies 19 of published and/or copyrighted materials from a book or magazine are 20 not allowed.</dd> 21 <dt>PAGE LIMITS</dt> 22 <dd>Mail is limited to 10 pages per envelope, but double-sided printing 23 is okay and counts as one page. Stapled papers are not allowed.</dd> 24 <dt>MAIL HOLD TIMES</dt> 25 <dd>Any mail sent through the US postal service or mail carrier will be 26 photocopied before being delivered to the resident.</dd> 27 <dd>The original correspondence will be kept for 10 business days then 28 destroyed.</dd> 29 <dd>If there is any issue with the copying of the original correspondence, 30 please send the original copy and an Inmate Request Slip to the the 31 Mailroom.</dd> 32 </dl> 33 <p>(See page 7 for <strong>electronic messaging</strong> through GTL tablet 34 service.)</p>
CSS Review Questions
<dt>
elements) in boldface? <dt>
elements) and the explanatory text
(the <dd>
elements)?Format
Commonly Used Entities in These Class Notes
&
=> & –
=> – —
=> — ©
=> © ▶
=> ▶ ’
(right single quote)
=> ’ “
and ”
(left double quote and right double quote) => “ ”­
‑
text-indent: 2em ;
(or with some other value to indent as far as you’d like).
entity can be used to prevent two words that you want
to keep together from “wrapping” to a new line, such as,
Mr. Heines. span
and CSS
using: white-space: nowrap ;
Goal: To create a web page that uses lists, such as page 6 of the PRO Manual.
Note: If you wish to work on a different PRO Manual page, or to implement a page of your own design and content that uses lists, please feel free to do so.
This is Class No. 10. It was last modified on
Saturday, October 21, 2023 at 4:38 PM. Copyright © 2010-2024 by Jesse M. Heines. All rights reserved, but may be freely copied or excerpted for
educational purposes with credit to the author.