Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199611.adf » Features » HTML/fonts_htm

HTML/fonts_htm

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199611.adf » Features
Filename: HTML/fonts_htm
Read OK:
File size: 06AC bytes
Load address: 0000
Exec address: 0000
File contents
<html>
<head>
<title>Font markup</title>
</head>

<body>

<h1>Font markup</h1>

<h2>Absolute font sizes</h2>
<p>
Font size can be set by using the <var>&lt;font size=nn&gt;
&lt;/font&gt;</var> tag pair. The size is a number from one to seven, 
and isn't in any particular set of units. The size that the font is
displayed depends on the browser.</p>
<ul>
<li><font size=1>This is font size 1</font>
<li><font size=2>This is font size 2</font>
<li><font size=3>This is font size 3</font>
<li><font size=4>This is font size 4</font>
<li><font size=5>This is font size 5</font>
<li><font size=6>This is font size 6</font>
<li><font size=7>This is font size 7</font>
</ul>
<h2>Relative sizes</h2>
<p>
You can also make fonts bigger or smaller by a given set of sizes by
putting a plus or minus sign before the size. For instance
<var>&lt;font size=+3&gt; ... &lt;/font&gt;</var> would make all text
between the start and end tags three sizes larger.</p>
<p>
For <font size=+1>instance, <font size=+2>here <font size=+3>successive
<font size=+4>words <font size=+5>are <font size=+6>one <font size=+7>size
<font size=+8>larger </font>(until the maximum is reached - when depends
on what size the 'base' font defaults to.</p>
<p>
There are also tag pairs <var>&lt;big&gt;&lt;/big&gt;</var> and
<var>&lt;small&gt;&lt;/small&gt;</var>, which make text <big>bigger</big>
and <small>smaller</small> respectively. these are less commonly
supported.</p>
<h2>Sub- and super-scripts</h2>
<p>
You can have subscripted and superscripted fonts, using the
<var>&lt;sub&gt;&lt;/sub&gt;</var> and the
<var>&lt;sup&gt;&lt;/sup&gt;</var> tag pairs. For instance: e=mc<sup>2</sup>,
H<sub>2</sub>SO<sub>4</sub>.</p>
</body>
</html>
00000000  3c 68 74 6d 6c 3e 0a 3c  68 65 61 64 3e 0a 3c 74  |<html>.<head>.<t|
00000010  69 74 6c 65 3e 46 6f 6e  74 20 6d 61 72 6b 75 70  |itle>Font markup|
00000020  3c 2f 74 69 74 6c 65 3e  0a 3c 2f 68 65 61 64 3e  |</title>.</head>|
00000030  0a 0a 3c 62 6f 64 79 3e  0a 0a 3c 68 31 3e 46 6f  |..<body>..<h1>Fo|
00000040  6e 74 20 6d 61 72 6b 75  70 3c 2f 68 31 3e 0a 0a  |nt markup</h1>..|
00000050  3c 68 32 3e 41 62 73 6f  6c 75 74 65 20 66 6f 6e  |<h2>Absolute fon|
00000060  74 20 73 69 7a 65 73 3c  2f 68 32 3e 0a 3c 70 3e  |t sizes</h2>.<p>|
00000070  0a 46 6f 6e 74 20 73 69  7a 65 20 63 61 6e 20 62  |.Font size can b|
00000080  65 20 73 65 74 20 62 79  20 75 73 69 6e 67 20 74  |e set by using t|
00000090  68 65 20 3c 76 61 72 3e  26 6c 74 3b 66 6f 6e 74  |he <var>&lt;font|
000000a0  20 73 69 7a 65 3d 6e 6e  26 67 74 3b 0a 26 6c 74  | size=nn&gt;.&lt|
000000b0  3b 2f 66 6f 6e 74 26 67  74 3b 3c 2f 76 61 72 3e  |;/font&gt;</var>|
000000c0  20 74 61 67 20 70 61 69  72 2e 20 54 68 65 20 73  | tag pair. The s|
000000d0  69 7a 65 20 69 73 20 61  20 6e 75 6d 62 65 72 20  |ize is a number |
000000e0  66 72 6f 6d 20 6f 6e 65  20 74 6f 20 73 65 76 65  |from one to seve|
000000f0  6e 2c 20 0a 61 6e 64 20  69 73 6e 27 74 20 69 6e  |n, .and isn't in|
00000100  20 61 6e 79 20 70 61 72  74 69 63 75 6c 61 72 20  | any particular |
00000110  73 65 74 20 6f 66 20 75  6e 69 74 73 2e 20 54 68  |set of units. Th|
00000120  65 20 73 69 7a 65 20 74  68 61 74 20 74 68 65 20  |e size that the |
00000130  66 6f 6e 74 20 69 73 0a  64 69 73 70 6c 61 79 65  |font is.displaye|
00000140  64 20 64 65 70 65 6e 64  73 20 6f 6e 20 74 68 65  |d depends on the|
00000150  20 62 72 6f 77 73 65 72  2e 3c 2f 70 3e 0a 3c 75  | browser.</p>.<u|
00000160  6c 3e 0a 3c 6c 69 3e 3c  66 6f 6e 74 20 73 69 7a  |l>.<li><font siz|
00000170  65 3d 31 3e 54 68 69 73  20 69 73 20 66 6f 6e 74  |e=1>This is font|
00000180  20 73 69 7a 65 20 31 3c  2f 66 6f 6e 74 3e 0a 3c  | size 1</font>.<|
00000190  6c 69 3e 3c 66 6f 6e 74  20 73 69 7a 65 3d 32 3e  |li><font size=2>|
000001a0  54 68 69 73 20 69 73 20  66 6f 6e 74 20 73 69 7a  |This is font siz|
000001b0  65 20 32 3c 2f 66 6f 6e  74 3e 0a 3c 6c 69 3e 3c  |e 2</font>.<li><|
000001c0  66 6f 6e 74 20 73 69 7a  65 3d 33 3e 54 68 69 73  |font size=3>This|
000001d0  20 69 73 20 66 6f 6e 74  20 73 69 7a 65 20 33 3c  | is font size 3<|
000001e0  2f 66 6f 6e 74 3e 0a 3c  6c 69 3e 3c 66 6f 6e 74  |/font>.<li><font|
000001f0  20 73 69 7a 65 3d 34 3e  54 68 69 73 20 69 73 20  | size=4>This is |
00000200  66 6f 6e 74 20 73 69 7a  65 20 34 3c 2f 66 6f 6e  |font size 4</fon|
00000210  74 3e 0a 3c 6c 69 3e 3c  66 6f 6e 74 20 73 69 7a  |t>.<li><font siz|
00000220  65 3d 35 3e 54 68 69 73  20 69 73 20 66 6f 6e 74  |e=5>This is font|
00000230  20 73 69 7a 65 20 35 3c  2f 66 6f 6e 74 3e 0a 3c  | size 5</font>.<|
00000240  6c 69 3e 3c 66 6f 6e 74  20 73 69 7a 65 3d 36 3e  |li><font size=6>|
00000250  54 68 69 73 20 69 73 20  66 6f 6e 74 20 73 69 7a  |This is font siz|
00000260  65 20 36 3c 2f 66 6f 6e  74 3e 0a 3c 6c 69 3e 3c  |e 6</font>.<li><|
00000270  66 6f 6e 74 20 73 69 7a  65 3d 37 3e 54 68 69 73  |font size=7>This|
00000280  20 69 73 20 66 6f 6e 74  20 73 69 7a 65 20 37 3c  | is font size 7<|
00000290  2f 66 6f 6e 74 3e 0a 3c  2f 75 6c 3e 0a 3c 68 32  |/font>.</ul>.<h2|
000002a0  3e 52 65 6c 61 74 69 76  65 20 73 69 7a 65 73 3c  |>Relative sizes<|
000002b0  2f 68 32 3e 0a 3c 70 3e  0a 59 6f 75 20 63 61 6e  |/h2>.<p>.You can|
000002c0  20 61 6c 73 6f 20 6d 61  6b 65 20 66 6f 6e 74 73  | also make fonts|
000002d0  20 62 69 67 67 65 72 20  6f 72 20 73 6d 61 6c 6c  | bigger or small|
000002e0  65 72 20 62 79 20 61 20  67 69 76 65 6e 20 73 65  |er by a given se|
000002f0  74 20 6f 66 20 73 69 7a  65 73 20 62 79 0a 70 75  |t of sizes by.pu|
00000300  74 74 69 6e 67 20 61 20  70 6c 75 73 20 6f 72 20  |tting a plus or |
00000310  6d 69 6e 75 73 20 73 69  67 6e 20 62 65 66 6f 72  |minus sign befor|
00000320  65 20 74 68 65 20 73 69  7a 65 2e 20 46 6f 72 20  |e the size. For |
00000330  69 6e 73 74 61 6e 63 65  0a 3c 76 61 72 3e 26 6c  |instance.<var>&l|
00000340  74 3b 66 6f 6e 74 20 73  69 7a 65 3d 2b 33 26 67  |t;font size=+3&g|
00000350  74 3b 20 2e 2e 2e 20 26  6c 74 3b 2f 66 6f 6e 74  |t; ... &lt;/font|
00000360  26 67 74 3b 3c 2f 76 61  72 3e 20 77 6f 75 6c 64  |&gt;</var> would|
00000370  20 6d 61 6b 65 20 61 6c  6c 20 74 65 78 74 0a 62  | make all text.b|
00000380  65 74 77 65 65 6e 20 74  68 65 20 73 74 61 72 74  |etween the start|
00000390  20 61 6e 64 20 65 6e 64  20 74 61 67 73 20 74 68  | and end tags th|
000003a0  72 65 65 20 73 69 7a 65  73 20 6c 61 72 67 65 72  |ree sizes larger|
000003b0  2e 3c 2f 70 3e 0a 3c 70  3e 0a 46 6f 72 20 3c 66  |.</p>.<p>.For <f|
000003c0  6f 6e 74 20 73 69 7a 65  3d 2b 31 3e 69 6e 73 74  |ont size=+1>inst|
000003d0  61 6e 63 65 2c 20 3c 66  6f 6e 74 20 73 69 7a 65  |ance, <font size|
000003e0  3d 2b 32 3e 68 65 72 65  20 3c 66 6f 6e 74 20 73  |=+2>here <font s|
000003f0  69 7a 65 3d 2b 33 3e 73  75 63 63 65 73 73 69 76  |ize=+3>successiv|
00000400  65 0a 3c 66 6f 6e 74 20  73 69 7a 65 3d 2b 34 3e  |e.<font size=+4>|
00000410  77 6f 72 64 73 20 3c 66  6f 6e 74 20 73 69 7a 65  |words <font size|
00000420  3d 2b 35 3e 61 72 65 20  3c 66 6f 6e 74 20 73 69  |=+5>are <font si|
00000430  7a 65 3d 2b 36 3e 6f 6e  65 20 3c 66 6f 6e 74 20  |ze=+6>one <font |
00000440  73 69 7a 65 3d 2b 37 3e  73 69 7a 65 0a 3c 66 6f  |size=+7>size.<fo|
00000450  6e 74 20 73 69 7a 65 3d  2b 38 3e 6c 61 72 67 65  |nt size=+8>large|
00000460  72 20 3c 2f 66 6f 6e 74  3e 28 75 6e 74 69 6c 20  |r </font>(until |
00000470  74 68 65 20 6d 61 78 69  6d 75 6d 20 69 73 20 72  |the maximum is r|
00000480  65 61 63 68 65 64 20 2d  20 77 68 65 6e 20 64 65  |eached - when de|
00000490  70 65 6e 64 73 0a 6f 6e  20 77 68 61 74 20 73 69  |pends.on what si|
000004a0  7a 65 20 74 68 65 20 27  62 61 73 65 27 20 66 6f  |ze the 'base' fo|
000004b0  6e 74 20 64 65 66 61 75  6c 74 73 20 74 6f 2e 3c  |nt defaults to.<|
000004c0  2f 70 3e 0a 3c 70 3e 0a  54 68 65 72 65 20 61 72  |/p>.<p>.There ar|
000004d0  65 20 61 6c 73 6f 20 74  61 67 20 70 61 69 72 73  |e also tag pairs|
000004e0  20 3c 76 61 72 3e 26 6c  74 3b 62 69 67 26 67 74  | <var>&lt;big&gt|
000004f0  3b 26 6c 74 3b 2f 62 69  67 26 67 74 3b 3c 2f 76  |;&lt;/big&gt;</v|
00000500  61 72 3e 20 61 6e 64 0a  3c 76 61 72 3e 26 6c 74  |ar> and.<var>&lt|
00000510  3b 73 6d 61 6c 6c 26 67  74 3b 26 6c 74 3b 2f 73  |;small&gt;&lt;/s|
00000520  6d 61 6c 6c 26 67 74 3b  3c 2f 76 61 72 3e 2c 20  |mall&gt;</var>, |
00000530  77 68 69 63 68 20 6d 61  6b 65 20 74 65 78 74 20  |which make text |
00000540  3c 62 69 67 3e 62 69 67  67 65 72 3c 2f 62 69 67  |<big>bigger</big|
00000550  3e 0a 61 6e 64 20 3c 73  6d 61 6c 6c 3e 73 6d 61  |>.and <small>sma|
00000560  6c 6c 65 72 3c 2f 73 6d  61 6c 6c 3e 20 72 65 73  |ller</small> res|
00000570  70 65 63 74 69 76 65 6c  79 2e 20 74 68 65 73 65  |pectively. these|
00000580  20 61 72 65 20 6c 65 73  73 20 63 6f 6d 6d 6f 6e  | are less common|
00000590  6c 79 0a 73 75 70 70 6f  72 74 65 64 2e 3c 2f 70  |ly.supported.</p|
000005a0  3e 0a 3c 68 32 3e 53 75  62 2d 20 61 6e 64 20 73  |>.<h2>Sub- and s|
000005b0  75 70 65 72 2d 73 63 72  69 70 74 73 3c 2f 68 32  |uper-scripts</h2|
000005c0  3e 0a 3c 70 3e 0a 59 6f  75 20 63 61 6e 20 68 61  |>.<p>.You can ha|
000005d0  76 65 20 73 75 62 73 63  72 69 70 74 65 64 20 61  |ve subscripted a|
000005e0  6e 64 20 73 75 70 65 72  73 63 72 69 70 74 65 64  |nd superscripted|
000005f0  20 66 6f 6e 74 73 2c 20  75 73 69 6e 67 20 74 68  | fonts, using th|
00000600  65 0a 3c 76 61 72 3e 26  6c 74 3b 73 75 62 26 67  |e.<var>&lt;sub&g|
00000610  74 3b 26 6c 74 3b 2f 73  75 62 26 67 74 3b 3c 2f  |t;&lt;/sub&gt;</|
00000620  76 61 72 3e 20 61 6e 64  20 74 68 65 0a 3c 76 61  |var> and the.<va|
00000630  72 3e 26 6c 74 3b 73 75  70 26 67 74 3b 26 6c 74  |r>&lt;sup&gt;&lt|
00000640  3b 2f 73 75 70 26 67 74  3b 3c 2f 76 61 72 3e 20  |;/sup&gt;</var> |
00000650  74 61 67 20 70 61 69 72  73 2e 20 46 6f 72 20 69  |tag pairs. For i|
00000660  6e 73 74 61 6e 63 65 3a  20 65 3d 6d 63 3c 73 75  |nstance: e=mc<su|
00000670  70 3e 32 3c 2f 73 75 70  3e 2c 0a 48 3c 73 75 62  |p>2</sup>,.H<sub|
00000680  3e 32 3c 2f 73 75 62 3e  53 4f 3c 73 75 62 3e 34  |>2</sub>SO<sub>4|
00000690  3c 2f 73 75 62 3e 2e 3c  2f 70 3e 0a 3c 2f 62 6f  |</sub>.</p>.</bo|
000006a0  64 79 3e 0a 3c 2f 68 74  6d 6c 3e 0a              |dy>.</html>.|
000006ac