Sideway
output.to from Sideway
Draft for Information Only

Content

HTML Single Column Page Construction
Heading 1 of HTML Page
 Heading 2 of HTML Page
  Heading 3 of HTML Page
   Heading 4 of HTML Page
    Heading 5 of HTML Page

HTML Single Column Page Construction

The text contents of a HTML document can be manipulated in block-level and text-level. Usually the block-level elements begin on new lines are used to format the text contents in a block scale for constructing the page format.

For a simple single column HTML page, the text contents can be broken into paragraphs. The <p> element is the most common element used to divide the text contents into paragraphs. And element tags, such as <h1>,..., <h6>, <hr>, <pre>, <blockquote>, <address>, can also be used to define the hierarchy and the structure of a page.

The paragraph element, <p>, always insert a line space margin before and after a paragraph.

The 6 heading elements, <h1>...<h6>, are always in bold style with the associated font size and a line space margin is inserted before and after the heading contents.

The block quotation element, <blockquote>, is not associated with a font size. A line space margin is also inserted before and after the block quotation contents. Besides, the block quotation contents are also indented at both the left and right margin as a indented block.

The preformatted elements, <pre>, are always associated with a fixed pitch font. A line space margin is also inserted before and after the preformatted block with the preserved.white space.

A horizontal line element, <hr>, is use to draw a horizontal line across the page.

The contact address element, <address>, renders the text in italic style and only a line break is inserted before and after the address contents.

The text contents can further be rendered into a more readable format by using the attributes of element tags, for examples text alignment, underline etc.

Code Sample:
<body>
<h1>Heading 1 of HTML Page</h1>
<p>Paragraph 1 of <span style="font-size:xx-large">
<b>HTML</b></span> page under h1 <br>next line</p>
<p>Paragraph 2 of <span style="font-size:32">
<b>HTML</b></span> page under h1</p>
<h2>Heading 2 of HTML Page</h2>
<p>Paragraph 3 of <span style="font-size:x-large">
<b>HTML</b></span> page under h2 <br>next line</p>
<p>Paragraph 4 of <span style="font-size:24">
<b>HTML</b></span> page under h2</p>
<h3>Heading 3 of HTML Page</h3>
<p>Paragraph 5 of <span style="font-size:large">
<b>HTML</b></span> page under h3 <br>next line</p>
<p>Paragraph 6 of <span style="font-size:18">
<b>HTML</b></span> page under h3</p>
<h4>Heading 4 of HTML Page</h4>
<p>Paragraph 7 of <span style="font-size:medium">
<b>HTML</b></span> page under h4 <br>next line</p>
<p>Paragraph 8 of <span style="font-size:16">
<b>HTML</b></span> page under h4</p>
<p style="font-size:16">Paragraph 9 of
<b>HTML</b> page under h4</p>
<h5>Heading 5 of HTML Page</h5>
<p style="font-size:small">Paragraph 10 of
<b>HTML</b> page under h5 <br>next line</p>
<p style="font-size:13">Paragraph 11 of
<b>HTML</b> page under h5</p>
<h6>Heading 6 of HTML Page</h6>
<p style="font-size:11">Paragraph 12 of
<b>HTML</b> page under h6</p>
<p style="font-size:x-small">Paragraph 13 of
<b>HTML</b> page under h6 <br>next line</p>
<p style="font-size:10">Paragraph 14 of
<b>HTML</b> page under h6</p>
A block quotation of ..........
.......... .......... .......... .......... .......... .......... ..........
.......... .......... .......... .......... .......... .......... .......... from reference:
<blockquote>Block quotation from
.......... .......... .......... .......... .......... .......... ..........
.......... .......... .......... .......... .......... .......... ..........
other resources ...</blockquote> End of quotation
<pre>A preformatted section
next line.............
next indented line ...............
end of section.</pre>
<hr>
Author <br>contact: <address>sideway.hk</address>Date 2010
</body>
Page Sample:

Heading 1 of HTML Page

Paragraph 1 of HTML page under h1
next line

Paragraph 2 of HTML page under h1

Heading 2 of HTML Page

Paragraph 3 of HTML page under h2
next line

Paragraph 4 of HTML page under h2

Heading 3 of HTML Page

Paragraph 5 of HTML page under h3
next line

Paragraph 6 of HTML page under h3

Heading 4 of HTML Page

Paragraph 7 of HTML page under h4
next line

Paragraph 8 of HTML page under h4

Paragraph 9 of HTML page under h4

Heading 5 of HTML Page

Paragraph 10 of HTML page under h5
next line

Paragraph 11 of HTML page under h5

Heading 6 of HTML Page

Paragraph 12 of HTML page under h6

Paragraph 13 of HTML page under h6
next line

Paragraph 14 of HTML page under h6

A block quotation of .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... from reference:
Block quotation from .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... other resources ...
End of quotation
A preformatted section
next line.............
        next indented line ...............
end of section.

Author
contact:
sideway.hk
Date: 2010
required   Optional tag   Deprecated   Transitional   Frameset   Exclusion
Optional Element or Content Occurrence Character:
(+) one or more;  (*) zero or more;  (?) zero or one times;  ( ) exactly once 
Choice or Sequence Element or Content :
(|) or  (&) and  (,) sequence  (+) include  (-) exclude

©sideway

ID: 100800038 Last Updated: 3/8/2011 Revision: 3 Ref:

close

References

  1. http://www.w3.org/TR/1999/REC-html401-1999, 1999, HTML 4.01 Specification: W3C Recommendation, updated 24 December 1999
close

Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019