The
section
element
represents
a generic section of a document or application. A section, in this context, is a thematic grouping of content, typically with a heading.
Red Delicious
These bright red apples are the most common found in many
supermarkets.
Granny Smith
These juicy, green apples make a great filling for
apple pies.
The
nav
element
represents
a section of a page that links to other pages or to parts within the page: a section with navigation links.
Not all groups of links on a page need to be in a
nav
element — only sections that consist of major navigation blocks are appropriate for the
nav
element. In particular, it is common for footers to have a short list of links to various pages of a site, such as the terms of service, the home page, and a copyright page. The
footer
element alone is sufficient for such cases, without a
nav
element.
A nav element doesn't have to contain a list, it can contain other kinds of content as well. In this navigation block, links are provided in prose:
The
article
element
represents
a self-contained composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.
The Very First Rule of Life
If there's a microphone anywhere near you, assume it's hot and
sending whatever you're saying to the world. Seriously.
The
aside
element
represents
a section of a page that consists of content that is tangentially related to the content around the
aside
element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.
The
hgroup
element
represents
the heading of a section. The element is used to group a set of
h1u{2013}
h6
elements when the heading has multiple levels, such as subheadings, alternative titles, or taglines.
Dr. Strangelove
Or: How I Learned to Stop Worrying and Love the Bomb
The
header
element
represents
a group of introductory or navigational aids.
A
header
element is intended to usually contain the section's heading (an
h1–
h6
element or an
hgroup
element), but this is not required. The
header
element can also be used to wrap a section's table of contents, a search form, or any relevant logos.
Little Green Guys With Guns
Important News
To play today's games you will need to update your client.
The
footer
element
represents
a footer for its nearest ancestor
sectioning content
or
sectioning root
element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.
Here is an example which shows the footer element being used both for a site-wide footer and for a section footer.
My Favorite Trains
I love my trains. My favorite train of all time is a Köf.
It is fun to see them pull some coal cars because they look so
dwarfed in comparison.
The
address
element
represents
the contact information for its nearest
article
or
body
element ancestor. If that is
the body element,
then the contact information applies to the document as a whole.
The little kitten gently seated himself on a piece of
carpet. Later in his life, this would be referred to as the time the
cat sat on the mat.
There was once an example from Femley,
Whose markup was of dubious quality.
The validator complained,
So the author was pained,
To move the error from the markup to the rhyming.
The
hr
element
represents
a
paragraph-level
thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book.
Communication
There are various methods of communication. This section
covers a few of the important ones used by the project.
Communication stones seem to come in pairs and have mysterious
properties:
They can transfer thoughts in two directions once activated
if used alone.
If used with another device, they can transfer one's
consciousness to another body.
If both stones are used with another device, the
consciousnesses switch bodies.
Radios use the electromagnetic spectrum in the meter range and
longer.
Signal flares use the electromagnetic spectrum in the
nanometer range.
The
pre
element
represents
a block of preformatted text, in which structure is represented by typographic conventions rather than by elements.
This is the
Panel
constructor:
function Panel(element, canClose, closeHandler) {
this.element = element;
this.canClose = canClose;
this.closeHandler = function () { if (closeHandler) closeHandler() };
} .markup
You are in an open field west of a big white house with a boarded
front door.
There is a small mailbox here.
>
open mailbox
Opening the mailbox reveals:
A leaflet.
>
,, ,, ,,
.M"""bgd db `7MM `7MMF' `YMM' db mm
,MI "Y MM MM .M' MM
`MMb. `7MM `7MM `7Mb,od8 `7M' `MF'`7MM `7M' `MF',6"Yb. MM MM .d" `7MM mmMMmm
`YMMNq. MM MM MM' "' VA ,V MM VA ,V 8) MM MM MMMMM. MM MM
. `MM MM MM MM VA ,V MM VA ,V ,pm9MM MM MM VMA MM MM
Mb dM MM MM MM VVV MM VVV 8M MM MM MM `MM. MM MM
P"Ybmmd" `Mbod"YML..JMML. W .JMML. W `Moo9^Yo..JMML. .JMML. MMb..JMML. `Mbmo
The
ol
element
represents
a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document.
I have lived in the following countries (given in the order of when
I first lived there):
The
ul
element
represents
a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document.
The
li
element
represents
a list item. If its parent element is an
ol,
ul,
or
menu
element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other
li
element.
The
dl
element
represents
an association list consisting of zero or more name-value groups (a description list). Each group must consist of one or more names (
dt
elements) followed by one or more values (
dd
elements). Within a single
dl
element, there should not be more than one
dt
element for each name.
The
dt
element
represents
the term, or name, part of a term-description group in a description list (
dl
element).
The
dd
element
represents
the description, definition, or value, part of a term-description group in a description list (
dl
element).
Authors
John
Luke
Editor
Frank
color
colour
A sensation which (in humans) derives from the ability of
the fine structure of the eye to distinguish three differently
filtered analyses of a view.
The
figure
element
represents
some
flow content,
optionally with a caption, that is self-contained and is typically referenced as a single unit from the main flow of the document.
The element can thus be used to annotate illustrations, diagrams, photos, code listings, etc, that are referred to from the main content of the document, but that could, without affecting the flow of the document, be moved away from that primary content, e.g. to the side of the page, to dedicated pages, or to an appendix.
The
figcaption
element child of the element, if any, represents the caption of the
figure
element's contents. If there is no child
figcaption
element, then there is no caption.
In
listing 4
we see the primary core interface
API declaration.
Listing 4. The primary core interface API declaration.
interface PrimaryCore {
boolean verifyDataLine();
void sendData(in sequence data);
void initSelfDestruct();
} %p The API is designed to use UTF-8.
The
a
element may be wrapped around entire
paragraphs, lists, tables, and so forth, even entire sections, so
long as there is no interactive content within (e.g. buttons or
other links). This example shows how this can be used to make an
entire advertising block into a link:
The
strong
element
represents
strong
importance for its contents.
Warning.
This dungeon is dangerous.
Avoid the ducks.
Take any gold you find.
Do not take any of the diamonds,
they are explosive and
will destroy anything within
ten meters.
You have been warned.
The
small
element
represents
side
comments such as small print.
Single room
199 €
breakfast included, VAT not included
Double room
239 €
breakfast included, VAT not included
Example Corp today announced record profits for the
second quarter
(Full Disclosure: Foo News is a subsidiary of
Example Corp)
,
leading to speculation about a third quarter
merger with Demo Group.
The
cite
element
represents
the title
of a work (e.g.
a book,
a paper,
an essay,
a poem,
a score,
a song,
a script,
a film,
a TV show,
a game,
a sculpture,
a painting,
a theatre production,
a play,
an opera,
a musical,
an exhibition,
a legal case report,
etc). This can be a work that is being quoted or
referenced in detail (i.e. a citation), or it can just be a work
that is mentioned in passing.
My favorite book is
The Reality Dysfunction
by
Peter F. Hamilton. My favorite comic is
Pearls Before
Swine
by Stephan Pastis. My favorite track is
Jive
Samba
by the Cannonball Adderley Sextet.
The man said
Things that are impossible just take
longer
.
I disagreed with him.
The W3C page
About W3C
says the W3C's
mission is
To lead the
World Wide Web to its full potential by developing protocols and
guidelines that ensure long-term growth for the Web
.
I
disagree with this mission.
The
abbr
element
represents
an
abbreviation or acronym, optionally with its expansion. The
title
attribute may be
used to provide an expansion of the abbreviation. The attribute, if
specified, must contain an expansion of the abbreviation, and
nothing else.
The
WHATWG
is a loose unofficial collaboration of Web browser manufacturers and
interested parties who wish to develop new technologies designed to
allow authors to write and deploy Applications over the World Wide
Web.
The
time
element
represents
either a
time on a 24 hour clock, or a precise date in the proleptic
Gregorian calendar, optionally with a time and a time-zone
offset.
[GREGORIAN]
The
code
element
represents
a fragment
of computer code. This could be an XML element name, a filename, a
computer program, or any other string that a computer would
recognize.
When you call the
activate()
method on the
robotSnowman
object, the eyes glow.
var i: Integer;
begin
i := 1;
end. %article#var.element
The
var
element
represents
a
variable. This could be an actual variable in a mathematical
expression or programming context, or it could just be a term used
as a placeholder in prose.
If there are
n
pipes leading to the ice
cream factory then I expect at
leastn
flavors of ice cream to be available for purchase!
Using Pythagoras' theorem to solve for the hypotenuse
a
of
a triangle with sides
b
and
c
The
i
element
represents
a span of text
in an alternate voice or mood, or otherwise offset from the normal
prose, such as a taxonomic designation, a technical term, an
idiomatic phrase from another language, a thought, a ship name, or
some other prose whose typical typographic presentation is
italicized.
The
b
element
represents
a span of text
to be stylistically offset from the normal prose without conveying
any extra importance, such as key words in a document abstract,
product names in a review, or other spans of text whose typical
typographic presentation is boldened.
The
frobonitor
and
barbinator
components are fried.
The
mark
element
represents
a run of
text in one document marked or highlighted for reference purposes,
due to its relevance in another context. When used in a quotation or
other block of text referred to from the prose, it indicates a
highlight that was not originally present but which has been added
to bring the reader's attention to a part of the text that might not
have been considered important by the original author when the block
was originally written, but which is now under previously unexpected
scrutiny. When used in the main prose of a document, it indicates a
part of the document that has been highlighted due to its likely
relevance to the user's current activity.
I also have some
kittens
who are visiting me
these days. They're really cute. I think they like my garden! Maybe I
should adopt a
kitten.
The
ruby
element allows one or more spans of
phrasing content to be marked with ruby annotations. Ruby
annotations are short runs of text presented alongside base text,
primarily used in East Asian typography as a guide for
pronunciation or to include other annotations. In Japanese, this
form of typography is also known as
furigana.
The
rt
element marks the ruby text component of a
ruby annotation.
The
rp
element can be used to provide parentheses
around a ruby text component of a ruby annotation, to be shown by
user agents that don't support ruby annotations.
The
table
element
represents
data with
more than one dimension, in the form of a
table.
In the following table, characteristics are given in the second
column, with the negative side in the left column and the positive
side in the right column.
Characteristics with positive and negative sides
Negative
Characteristic
Positive
Sad
Mood
Happy
Failing
Grade
Passing
Characteristics with positive and negative sides.
Characteristics are given in the second column, with the
negative side in the left column and the positive side in the right
column.
Negative
Characteristic
Positive
Sad
Mood
Happy
Failing
Grade
Passing
Characteristics with positive and negative sides.Help
Characteristics are given in the second column, with the
negative side in the left column and the positive side in the right
column.
Negative
Characteristic
Positive
Sad
Mood
Happy
Failing
Grade
Passing
Characteristics with positive and negative sides
Characteristics are given in the second column, with the
negative side in the left column and the positive side in the right
column.
Negative
Characteristic
Positive
Sad
Mood
Happy
Failing
Grade
Passing
Characteristics with positive and negative sides
Characteristics are given in the second column, with the
negative side in the left column and the positive side in the right
column.
The
thead
element
represents
the
block
of
rows
that consist of the column labels
(headers) for the parent
table
element, if the
thead
element has a parent and it is a
table.
School auction sign-up sheet
Your name here
What are you selling?
Link to a picture
Your reserve price
Ms Danus
Doughnuts
$45
Sample Tables
Specification values:
Steel,
Castings,
Ann. A.S.T.M. A27-16, Class B;* P max. 0.06; S max. 0.05.