<h2>Tags in the New York Times<h2>

One easy way to help guide readers through your HTML pages is through the use of ordered and unordered lists of points, like numbered lists and bullet points.  Another helpfule aid for readers is the use of headers (book)You can find more about using headers in general in your book, pgs 525-527, whether they're large headers at the top of pages or headers marking important sections within your page.

Both of these HTML tag types help direct your reader through your html pages, and makes your pages scannable.  You can't always control what your reader reads, and putting in headers and bullet points will make it easier for your reader to find the parts that he or she is most interested in reading.  Instead of having to read through every word you've written, skipping to try and find what they find most important, they can jump to the portion that seems most pertinent.

We'll talk about lists first and then headers before viewing examples of how each type of tag is used on the cover page of The New York Times.

<h4>Ordered Lists</h4>

List of top 10 emailed stories from the NY TimesOne of the best ways to make your information quickly accessible is to use bullet points.  Seamonkey allows you to add two sorts of bullets -- ordered and unordered lists.  Ordered lists have numbers or letters, and are usually used if you expect a reader to reuse those points later, in which case they'll need a reference for them, or if there is a certain logic to the order in which they are presented.

By clicking Seamonkey's "Apply or Remove Numbered List" icon, you can create a numbered list (and therefore a list whose order matters), like the speaking points, below.
  1. There are two types of lists.
  2. The first is the "ordered list".
    1. There are many types of ordering available.
    2. These types are discussed in great detail at this page at the w3c.
    3. Specific numbering schemes are displayed here.
  3. The second is the "unordered list"
To indent, use the tab key, and use shift-tab to move back to a higher level in your lists.  We won't be discussing how to use different ordinal types (1, 2, 3; I, II, III; A, B, C), but if you follow the link in item 1.2., above, you can find out on your own.

The HTML code that creates the list, above, is listed below.  Note that the <ol> tag is used to show where an ordered list is being used, and appears at the beginning and end of the list items (<li> for "list item") in each level of the list.  "Nested" <ol> tags, or tags within other tags, create the indented lists.  Take a look at the unordered list (<ul>) at the end of the code sample.

For the sites you create in this class, I would recommend using SeaMonkey to create more of your tags.  We're just viewing the HTML to help you know how to "read" the page's source code directly.
   1 <ol>
2 <li>There are two types of lists.</li>
3 <li>The first is the "ordered list".</li>
4 <ol>
5 <li>There are many types of ordering available.</li>
6 <li>These types are discussed in great detail at <a
7 href="http://www.w3.org/TR/html401/struct/lists.html">this page at the
8 w3c</a>.</li>
9 <li>Specific numbering schemes are displayed <a
10 href="http://www.w3.org/TR/html401/struct/lists.html#h-10.3.1">here</a>.<br>
11 </li>
12 </ol>
13 <li>The second is the "unordered list"</li>
14 <ul>
15 <li>Unordered lists are bullet points.</li>
16 <li>We'll discuss them, below.</li>
17 </ul>
18 </ol>

<h4>Unordered lists</h4>

Unordered lists are useful when you are trying to create a general impression through examples rather than something a reader might want to reference later, or when you're listing items whose order is of no importance.  The w3c website uses recipe ingredients as an example for an unordered list.  Other items that might belong in an unordered list might include the following:

Use Seamonkey's "Apply or remove bulleted list" to put in an unordered list, again using the tab button to indent and shift-tab to move back up in your list hierarchy.  Here's the code for these unordered lists.
   1 <ul>
2 <li>Pet types</li>
3 <ul>
4 <li>dog</li>
5 <li>cat</li>
6 <li>bird</li>
7 <li>hamster</li>
8 <li>zebra</li>
9 </ul>
10 <li>Places to eat on Hillsborough</li>
11 <ul>
12 <li>Bruegger's</li>
13 <li>Golden Dragon</li>
14 <li>Sylvia's<br>
15 </li>
16 </ul>
17 </ul>

Questions: How many unordered lists are in our example?  How could we make the fact that there are nested lists more "human readable"?

<h4>The New York Times' use of ordered lists</h4>

The New York Times uses an ordered list to display its ten most popularly emailed stories, as can be seen in the page, above.  An ordered list makes sense because these are in order of popularity.  Note the <ol> tag after the division (<div>) tag on the page, and that each story is displayed inside of <li> ("list item") tags.
   1 <div class="tabContent tabContentActive" id="mostEmailed"><ol>
2 <li><a href="http://www.nytimes.com/2009/11/10/science/10angier.html?em" title="Click to go to this article">Basics: Pigs Prove to Be Smart, if Not Vain</a></li>
3 <li><a href="http://www.nytimes.com/2009/11/10/health/10mind.html?em" title="Click to go to this article">Mind: A Dream Interpretation: Tuneups for the Brain</a></li>
4 <li><a href="http://www.nytimes.com/2009/11/10/opinion/10baron-cohen.html?em" title="Click to go to this article">Op-Ed Contributor: The Short Life of a Diagnosis</a></li>
5 <li><a href="http://www.nytimes.com/2009/11/11/opinion/11dowd.html?em" title="Click to go to this article">Maureen Dowd: Virtuous Bankers? Really!?!</a></li>
6
7 <li><a href="http://www.nytimes.com/2009/11/10/opinion/10brooks.html?em" title="Click to go to this article">David Brooks: The Rush to Therapy</a></li>
8 <li><a href="http://www.nytimes.com/2009/11/11/dining/11unit.html?em" title="Click to go to this article">United Tastes: Saving New Orleans Culture, One Sandwich at a Time</a></li>
9 <li><a href="http://www.nytimes.com/2009/11/08/world/europe/08britain.html?em" title="Click to go to this article">Who Is a Jew? Court Ruling in Britain Raises Question</a></li>
10 <li><a href="http://www.nytimes.com/2009/11/10/science/10patch.html?em" title="Click to go to this article">Afloat in the Ocean, Expanding Islands of Trash</a></li>
11 <li><a href="http://www.nytimes.com/2009/11/10/health/research/10nutr.html?em" title="Click to go to this article">Vital Signs: Nutrition: Chocolate Milk May Reduce Inflammation</a></li>
12 <li><a href="http://www.nytimes.com/2009/11/08/opinion/08kristof.html?em" title="Click to go to this article">Nicholas D. Kristof: Chemicals in Our Food, and Bodies</a></li>
13 </ol>
14 <a class="more" href="http://www.nytimes.com/gst/mostemailed.html">Go to Complete List &#x00bb;</a>
15 </div><!-- #most emailed top10 -->




<h4>Headers</h4>

Snapshot of stories from the front page of the NYTimes.com


Picture of "Choose a paragraph format" drop down in Seamonkey ComposerHeaders can be used to set up sections within a longer page.  There are a number of common header "types", with each type really only representing their relative importance.  h1 headers are the most important (and are typically displayed in the largest font), with h2 of the next importance, then h3, etc.

Note that the size and presentation of headers can change quite a bit between different HTML templates, as we'll see in our next exercise.  Sometimes, for whatever reason, designers will have a higher number header display use a larger font than a lower numbered header, or they'll have the text center itself on the page, or display in a color that doesn't stand out from the page's background.  Though these might not be intuitive changes, don't be surprised if your HTML changes in ways you wouldn't expect once you've given it to someone else or put it into a template.  Recheck its display with each new incarnation.

Also note that you are not required to use each level of header before using the next smallest.  This page uses <h2> tags for its main topic and <h4> for its section headings.  This page displays what size headers it's using within the headers' contents, so that you can see the difference between the display of <h2> and <h4> tags.  Don't type in <h4>, etc, in your own pages!  The headers should only be visible in your code, not the page's display.

To insert headers, use the "Choose a paragraph format" drop down at the top left of SeaMonkey Composer, as pictured..

<h4>The New York Times' use of headers</h4>

Here, notice The Times' use of <h2> tags for the story titles, <h6> tags for the stories' bylines, and a quick, bulleted (unordered) list to link to related stories below the "summary" of each story.
   1 <!--start lede package -->        
2 <div class="wideB opening module">
3 <div class="aColumn">
4 <div class="columnGroup first">
5 <div class="story">
6 <h2><a href="http://www.nytimes.com/2009/11/12/world/asia/12chinaflu.html?hp">
7 China’s Tough Measures on Flu Appear to Be Effective</a></h2>
8 <h6 class="byline">
9 By EDWARD WONG <span class="timestamp">47 minutes ago</span>
10
11 </h6>
12 <p class="summary">
13 China’s actions, especially quarantines of foreign visitors, brought criticism abroad, but health officials say the spread of H1N1 may have been slowed. </p>
14 <ul class="refer">
15 <li><a href="http://topics.nytimes.com/top/reference/timestopics/subjects/i/influenza/swine_influenza/index.html">Times Topics: Swine Flu</a></li>
16 </ul>
17
18 </div>
19 <div class="story">
20 <h3><a href="http://www.nytimes.com/2009/11/11/world/asia/11policy.html?hp">
21 3 Obama Advisers Favor More Troops for Afghanistan</a></h3>
22 <h6 class="byline">
23 By ELISABETH BUMILLER and DAVID E. SANGER </h6>
24
25 <p class="summary">
26 The president’s national security team is coalescing around a proposal to send 30,000 or more additional troops to Afghanistan, officials say. </p>
27 <ul class="refer">
28 <li><a href="http://www.nytimes.com/2009/11/12/world/asia/12afghan.html?hp">Body of Missing Soldier Found in Afghanistan</a> <span class="timestamp">8:01 AM ET</span></li>
29 </ul>
30
31 </div>
32 <div class="story">
33 <h3><a href="http://www.nytimes.com/2009/11/11/world/middleeast/11blackwater.html?hp">
34 Blackwater Said to Pursue Bribes to Iraq After 17 Died</a></h3>
35 <h6 class="byline">
36 By MARK MAZZETTI and JAMES RISEN </h6>
37
38 <p class="summary">
39 Former executives said it was unclear if payoffs of about $1 million were made to Iraqi officials, but the goal was to hush criticism and buy support after 17 civilians were killed. </p>
40 <ul class="refer">
41 <li style="background-image: none; padding-left: 0pt;"><IMG src="http://graphics8.nytimes.com/images/section/opinion/comment_icon.gif" alt="comment icon" style="margin-right: 3px; padding-top: 3px;" border="0"><span class="commentCountLink" articleid="1247465620487" overflowurl="http://community.nytimes.com/article/comments/2009/11/11/world/middleeast/11blackwater.html"></span></li>
42 </ul>
Question: What's easy to read in the HTML source of The Times' column of stories?  What makes some parts more difficult to read?


<h4>What does lede mean?</h4>

lede (lēd
n.  The introductory portion of a news story, especially the first sentence.

[Obsolete spelling of lead1, revived in modern journalism to distinguish the word from lead2, strip of metal separating lines of type.]
lec'to·typ'ic (-tĭp'ĭk) adj.
The American Heritage® Dictionary of the English Language, Fourth Edition
Copyright © 2009 by Houghton Mifflin Company.
Published by Houghton Mifflin Company. All rights reserved.
Cite This Source