473,796 Members | 2,648 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTML headings article

I wrote an article on HTML headings:
http://codewallop.110mb.com/goodprac...adingology.htm

--
Spartanicus
Apr 8 '07
22 2524
Scripsit Ben C:
>The HTML heading elements express a nesting structure. This doesn't
depend on what I think. I would not have designed a markup language
that way, but I can live with other people's design.

Are you sure? The HTML specification says,

"There are six levels of headings in HTML with H1 as the most
important and H6 as the least. Visual browsers usually render more
important headings in larger fonts than less important ones."
D'Oh! I was sure that nobody would pick up that unfortunate sloppy wording,
but I forgot this is c.i.w.a.h. where many people actually check things out
and are clever.

The wording, taken literally, is absurd. The importance of headings varies
in many ways. If you have a document that describes, say, agriculture in
different countries, with country names as natural headings, the
"importance " principle would imply that headings from h1 to h6 should be
used depending on the importance of agriculture in each country, from
<h1>USA</h1down to <h6>Vatican</h6>.

So it is logical to assume that they meant something different. They just
expressed it poorly. The good old HTML 2.0 specification, a great
improvement over its successors in clarity, says:

The six heading elements, <H1through <H6>, denote section headings.
Although the order and occurrence of headings is not constrained by
the HTML DTD, documents should not skip levels (for example, from H1
to H3) - -.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Apr 12 '07 #21
Scripsit Mark Goodge:
Or consider a tourist guide to various towns and cities:

Level 1 - name of region
Level 2 - name of city
Level 3 - subdivision of city
Level 4 - individual tourist attraction

Small towns and cities probably won't need subdividing. You can fit
all the attractions in my howetown on to one page! But if the city is
London or Berlin, then subdividing by map sector makes sense.
OK, it seems that I have to surrender. That's a good example, and so is the
other one, and Toby's example. What they share is an overall hierarchy, with
some branches going deeper than others, together with some lowest-level
headings, though conceivably e.g. the individual tourist attraction
descriptions themselves could have internal structure that requires
lower-level headings.

So can we conclude that heading levels _should not_ be skipped, in an
RFC'ish sense, i.e. they normally must not be skipped but they may be
skipped in exceptional situations after due consideration of the situation,
the needs and implications?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Apr 12 '07 #22
On Thu, 12 Apr 2007 22:16:05 +0300, Jukka K. Korpela put finger to
keyboard and typed:
>Scripsit Mark Goodge:
>Or consider a tourist guide to various towns and cities:

Level 1 - name of region
Level 2 - name of city
Level 3 - subdivision of city
Level 4 - individual tourist attraction

Small towns and cities probably won't need subdividing. You can fit
all the attractions in my howetown on to one page! But if the city is
London or Berlin, then subdividing by map sector makes sense.

OK, it seems that I have to surrender.
That's a very refreshing response, for Usenet :-)
That's a good example, and so is the
other one, and Toby's example. What they share is an overall hierarchy, with
some branches going deeper than others, together with some lowest-level
headings, though conceivably e.g. the individual tourist attraction
descriptions themselves could have internal structure that requires
lower-level headings.

So can we conclude that heading levels _should not_ be skipped, in an
RFC'ish sense, i.e. they normally must not be skipped but they may be
skipped in exceptional situations after due consideration of the situation,
the needs and implications?
I wouldn't put it quite that strongly. I'd argue that heading levels
should be followed, *unless* the structure of the data is better
presented otherwise. That is, the default is to follow the levels, but
it doesn't necessarily have to be "exceptiona l" not to.

Mark
--
Blog: http://mark.goodge.co.uk Photos: http://www.goodge.co.uk
"Every whisper, every waking hour"
Apr 12 '07 #23

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1662
by: dayzman | last post by:
Hi, I'm interested in a program that extracts the structure of unstructured HTML documents. The program should be able to make good estimates about different font styles used to represent headings, for example, some may use <font size = 24> for headings and some may use <h1>, in the end, both should output the same structure. The output can be in XML or other formats. Manual driving should remain minimal. Does anyone know of such...
71
6507
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's a step beyond Notepad (not a WYSIWYG tool). Thanks.
26
2449
by: Dave Patton | last post by:
http://members.shaw.ca/davepatton/gps.html In another newsgroup(related to GPS), in regards to the above page, someone said: ---------------------------------------------------------------------- That page has quite a cryptic title: "CIS: GPS". I saved the URL in my browser but changed the title to "Patton's GPS pages". The headings are rather haphazard. For example, the first one ("On This Page") is a third level heading (an <h3>),...
10
2190
by: st4 | last post by:
Help, As part of my family history web site i need to get 150 pages of typed text into some format to display. It just text right now but I would like to add some graphics (photos) and make the text more friendly to read. I am thinking to divide it into smaller chapters and to format it something like a newspaper article. But just learning about HTML, 150 pages just seems like too greater task. Is there a shortcut or another way to do...
3
1667
by: dayzman | last post by:
Hi, I'm interested in projects evolve about extracing semantic structure of HTML documents. What I mean by extracting semantic structure is to analyse HTML doc and outputs a model (perhaps a tree structure) that relates paragraphs to headings/sub headings. It should be a difficult problem, since HTML is a structure language. Does anyone know of any existing research? Cheers,
8
2408
by: mark126 | last post by:
If this is not the right group for this question, please advise me of a better one. I have a collection of simple HTML files, many of which just contain a paragraph or two of text. Some contain just an IMG and a one line caption. I would like to find a tool that will load the first page (call it toc.html) and anywhere it finds a link, it should replace the link with the BODY of the linked page. If that BODY contains further links, it...
9
1510
by: elia | last post by:
Hello, I would like to show a line in a tabel in html if there is quantity of article choosed. My code is: <? if ($quantite1 0) { echo(' <tr>
27
3831
by: prt7u | last post by:
Howdy, I've started back afte a very long time of working with web pages for an organization that I am affiliated with (personally not professionally). Seeing that technology has advanced a lot since the last time I authored web pages (using vi), I am looking for a good, "free" WYSIWYG HTML Editor. Now, before ya go and hit the reply key, I've already tinkered with "amaya" which was pretty cool and then I moved to "Nvu", which I like
1
1705
by: Izhaki | last post by:
Hi, I'm creating a system where my XML includes HTML tags (<h1></h1>) in addition to other XML elements (<book></book>). I would like to render the HTML tags back to HTML using XSL. Considering I want to replace all headings, I could do for each heading level (i.e. repeat the following code for h2, h3, h4, h5, etc.): <xsl:template match="h1"> <h1><xsl:apply-templates/></h1> </xsl:template>
0
9684
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10236
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10017
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.