5,838
edits
m (→Spans: correcting) |
(update) |
||
=And finally=
So there we have it, <nowiki><div>, <section>, <article> etc.</nowiki> in a nutshell. You will learn to love
[[file:Divlayout6.png|200px|left]]▼
<pre><body>
<
<h1> some text </h1>
<
<h2> some text </h2>
<p> some text </p>
</header>
<
</
<
<section>
</div>▼
<h2> some text </h2>
other HTML
<section>
<section>
<h2> some text </h2>
other HTML
<section>
<footer>
</
</
To further develop the design, include '<aside> some HTML content </aside>' to add in information not directly related to the '<main> some HTML content </main>. Your [[Stylesheets]] could position this to the right hand side of the content in 'main' for viewing on a monitor, but below it for narrower media when you print or view on some other devices. Have a look at the HTML used on those web-sites you like, as most browsers offer 'view source'.
= The next article to read …… =
Learn how to use a PHP script to generate HTML web pages. See [[PHP|PHP Hypertext Preprocessor]].
▲[[file:Divlayout6.png|200px]]
Original article [[User:Daj|Daj]] 18:07, 13 February 2011 (UTC)▼
Updated to HTML5 standard [[User:Sfws|Sfws]] ([[User talk:Sfws|talk]]) 23:41, 22 April 2015 (PDT)
▲[[User:Daj|Daj]] 18:07, 13 February 2011 (UTC)
[[Category:WebTips]]
|
edits