3 HTML+-+Basic
3 HTML+-+Basic
Effective Period : -
HTML - Basic
Proclaim & Group Headings
<p>Article content...</p>
</article>
<article>
<h2 id=”art-2”>Terry’s Article</h2>
<p>Article content...</p>
</article>
Complete Framework
<nav> <h3>Information</h3>
<a href=”#art-1”>Sally’s Article</a> -
<a href=”#art-2”>Terry’s Article</a> -
<a href=”#top”>Top of Page</a>
</nav>
<small>Copyright © Example Corporation</small>
<address>www.example.com</address>
</footer>
Complete Framework
6. Save the HTML document, then open the web page in your
browser to see that the document structure comprises a
heading, page content, and footer area
Create Section
• In HTML all content within the <body> element is
considered to be part of a “section”. Section limits
are defined implicitly by correctly sequenced
headings in the document outline. Section limits
are defined explicitly by placing content within the
<header>, <main>, and <footer> framework
elements demonstrated on before this pages.
Create Section
• Create an HTML document (as Session 1. Fig 3.2)
• Within the body, insert code like Fig 5.
• Save the HTML document then open it in your
browser to see the article content displayed in
sections. See Fig 6
Section & Asides
Provide Asides
• HTML usefully provides <aside> </aside> tags that
can be nested within an <article> element in order to
incorporate content that is somewhat related to the
main content of that article. These allow for
supplemental yet separate content to be included –
typically displayed as a sidebar or footnote.
Provide Asides
• Examples of using Aside: