articleBody
| -
I’d just like to add that on a page that is complex enough to
need separate container elements (e.g. a website with a header,
footer, multiple columns, etc.), a section element can be used to
contain some markup that relates to a particular purpose or
function, like:
An interactive map.
A set of summaries of articles related to the area of the map
you’ve just selected, or perhaps a list of details about
accommodation in that area.
A list of geographic data about that area of the map.
The article element on the other hand is used to contain
repeating sets of information in a series that are all related to
one another. So for example, each article summary or set of
accommodation details in the example above could be wrapped in an
article element.
The descriptions of article and section in the HTML spec are
rather confusing…also note that it is possible for an article
element to contain multiple sections, as well as a section element
containing multiple articles.
-
Air3sAdeseyeair3s
meaixnorth:
. You need to have a break tag at the end of each of those lines
like you did at the end. Also, you shouldn’t have used headers,
sections, and footers for the different parts. Semantically, those
are indicative of different parts of a website. Since this is just
a single document, it should just be paragraph and the different
list tags. You also cited the quote instead of Bill. you should
have quote tags around the quote (and make sure to remove both of
the quotation marks because the quote tags will add them in the
browser) and cite tags around Bill’s name (you can tell by
looking at the final product on the browser that y
Fixed the address br tags, I must have forgotten those hehe.
and fixed the citing.
So section tags are not used used to denote a separate
parts/topics of a composition?
It depends on what the composition is. A simple document like
this which is essentially an email being posted online, then no you
wouldn’t use section, main, aside, header, footer, etc. tags.
Once you get to CSS, semantics becomes clear very quickly. It’s
one of those things that will all of a sudden click–at least
that’s how it was for me.
|