Go to bottom.
Return to Web page demonstration's table of contents.
By default, this paragraph will be flushed to the left, the face of its text
is Times New Roman, the font size of its text is 3 (12 points), the foreground color of
its text is black, and the background color of its text is white, and will
automatically word-wrap based on the size of the window of the Web browser.
Try to change the width of the window of the Web browser and you will see
what I mean.
You can make this paragraph flushed to the right instead of flushing to the
left and will automatically word-wrap based on the size of the window of the
Web browser. Try to change the width of the window of the Web browser and you
will see what I mean.
You can make each line of this paragraph centered instead of flushing to the
left or right and will automatically word-wrap based on the size of the
window of the Web browser. Try to change the width of the window of the Web
browser and you will see what I mean.
You can make this paragraph flushed to the left and right and will
automatically word-wrap based on the size of the window of the Web browser.
Try to change the width of the window of the Web browser and you will see
what I mean.
You can make this paragraph look like a blockquote, which is often used for
long quotations. It leaves certain amount of space on the left and right
side of this paragraph, even if you resize the width of the window of the
Web browser. Try to change the width of the window of the Web browser and
you will see what I mean.
You can specify that this paragraph can be run on this line continuously
and will never word-wrap, even if you resize the window of the Web browser.
Try to change the width of the window of the Web browser and you will see
what I mean.
You can make certain set of words join together always, as it will be shown on
the following examples. Try to change the width of the window of the Web
browser and you will see what I mean.
Using instead of normal (but breaking) space in between month of the
year and day number of the month, day number of the month with comma, and day
number of the year with comma and day of the week
September 22, 1933, Friday;
August 19, 1936, Wednesday; May 03, 1964, Sunday;
September 08, 1966, Thursday; April 16, 1972, Sunday;
November 26, 1975, Wednesday.
Using the HTML tags <nobr></nobr> ; that is,
<nobr> is placed before the month of year and </nobr> is placed
after the day of the week appended with a certain punctuation mark.
September 22, 1933,
Friday; August 19, 1936, Wednesday; May 03, 1964, Sunday;
September 08, 1966, Thursday; April 16, 1972, Sunday;
November 26, 1975, Wednesday.
You can make this paragraph automatically hyphenate every word
it reaches on its right side. That is, when a word containing
more than one syllable reaches on the right side of a certain line
in this paragraph, it will
accommodate as much syllables of that word as it can on
the right side of this
paragraph, then appends it with a hyphen, then the remaining syllables of that
word will be continued on the next line of this paragraph.
However, in order for you to do that, you have to put a soft hyphen
in between two consecutive syllables of every
word in this paragraph by means of your Web page editor. Try to change the width of the window of the Web browser and
you will see what I mean.
You can also specify that a certain body of text will be displayed as is.
However, the face of its text by default, is a typewriter-looking one,
will never word-wrap, and it's useful for displaying source code of a
program based on a certain programming language, such as C++.
/*
Line 1 of comment
Line 2 of comment
Line 3 of comment
.
.
.
Line n of comment
*/
#include <iostream.h>;
void main() // Comment after two consecutive slashes on this line.
{
cout<<"Hello, world.";
}
Big text.
Small text.
Sample of a superscripted text.
Sample of a subscripted text.
Overstruck text.
Bold text.
Strong text.
Italic text.
Underlined text.
Bold and italic text.
Bold and underlined text.
Italic and underlined text.
Bold, italic, and underlined text.
Typewriter-based text.
Heading text 1.
Heading text 2.
Heading text 3.
Heading text 4.
Heading text 5.
Heading text 6.
Available pre-set sizes of fonts
1 (8 points)
2 (10 points)
3 (12 points)
4 (14 points)
5 (18 points)
6 (24 points)
7 (36 points)
Fonts that are safe (or worry-free) to use in most Web browsers
Times New Roman
Arial
Verdana
Georgia
Comic Sans MS
Trebuchet MS
Lucida Console
Tahoma
Courier
Courier New
Go to top.
Return to Web page demonstration's table of contents.