SPEED | A | B | C | D | E | F | H | I | K | L | | M | N | O | P | S | T | U | V | W | X | FINDER |
|
|
Contents
HTML Elements (l - m)
<nobr> no break
<nobr>
Put your line of text in here and it won't wrap around. Put your line of text in here and it won't wrap around. Put your line of text in here and it won't wrap around. Put your line of text in here and it won't wrap around.
</nobr>
![]()
<noframes><noscript><object>embed tag as it is used to insert non-standard applications such as ActiveX controls. It is currently the focus of the HTML working groups Compound Document draft specification - more information will follow when/if the tag is better defined and more universally accepted.
<ol> ordered list<option> form list item<p> paragraphalign="left | center | right"
![]()
A paragraph.
<p align="center">The next paragraph, centered.
![]()
The next paragraph, centered.
<pre> pre-formatted text<br> tag is not necessary to cause a line-break. It is sometimes used to display text in a tabular or column format, as all spaces typed in the HTML code are displayed by the browser. Combined with the fixed-width font, this facilitates the alignment of text. Similar to <listing> and <xmp>.
I do not recommend the use of <pre> for formatting a few words at a time, as unpredicable results are occasionly produced. Use <code> or <tt> as an alternative.
<pre>
FOR x=1 TO 10
PRINT "The square of ";x;" is ";x^2
NEXT x
</pre>
![]()
FOR x=1 TO 10 PRINT "The square of ";x;" is ";x^2 NEXT x
<s strike><strike> element - click it for more information.
<samp> sample text
When in DOS, why is it you often get a <samp>bad file name</samp> message but never an <samp>excellent file name</samp> message?
![]()
<select> form list box<sound>src="URL"loop="n | infinite"n=-1, or if loop=infinite, it will play indefinitely. If the tag is placed at the top of the document (assuming the document is viewed from the top), this attribute effectively makes the tag very similar to <bgsound> and plays the sound in the background. See also Special Procedures.
delay="value"![]()
<sound src="sounds/blakmeat.wav" delay=2 loop=3>
<spacer>type="horizontal|vertical|block"size=pixelstype is set to block.
width=pixelstype is set to horizontal or vertical.
height=pixelstype is set to horizontal or vertical.
align=left|right|middle|top|texttop|absmiddle|baseline|bottom|absbottomtype is set to block. The has exactly the same values as with the <img> tag. You are effectively aligning a blank image.
The left and right values create a floating spacer block which finds the next available margin to allow text to wrap. Top aligns with the top of the tallest item in the line. Texttop aligns with the top of the tallest text in the line (not always the same as top). Middle aligns the middle of the block with the baseline of the current line. Absmiddle aligns the middle of the block with the middle of the current line. Baseline aligns the bottom of the block with the baseline of the current line. Bottom does exactly the same as baseline. Absbottom aligns the bottom of the block with the bottom of the current line.
You must use align if you wish to wrap text around the spacer block.
![]()
<spacer type="block" height=50 width=50% align="right">
"Geri was well endowed with a feisty character, but could not sing.. I remember being there singing with the girls and saying to her 'Geri, you're out of tune'. She would then go off to the toilet and we would hear her practising in there."
<br><spacer type="horizontal" size=200>
Despite their raunchy image, Ian recalls that when they first started rehearsing at Trinity they seemed quite shy. But gradually the girls started to gel and became more boisterous. Ian recalls, "I was standing in the studio one day. The next thing I knew, my trousers were around my ankles. The girls were just standing there laughing their socks off."
![]()
<strike><s> element.
I like driving in my car. It's not quite a <strike>Saab</strike> Jaguar.
![]()
<strong><em>.
<strong>Warning: <strong>
no entry without protection.
</pre>
![]()
<sub> subscript
Sulphuric acid, H<sub>2</sub>S0<sub>4</sub>.
![]()
<sup> superscript
Equation of a circle: r<sup>2</sup> = x<sup>2</sup> + y<sup>2</sup>.
![]()
<table><td> table data<textarea> form input box<th> table heading<title><head> tags.
<html>
<head>
<title>Sizzling HTML Jalfrezi: A Shell Document</title>
</head>
<body>
The document in here
</body>
</html>
<tr> table row<tt> typewriter text<code> and <pre>.
Courier is an example of a <tt>fixed-width font</tt>, as is MS LineDraw.
![]()
<u> underline
Ooh, suits <u>you</u>, sir.
![]()
<ul> unordered list<xmp><pre> and <listing>. Used to render blocks of text in a fixed-width font and so is suitable for text that has been formatted on screen. It should be rendered so that a limit of 80 characters will fit on a line.
I do not recommend the use of <listing> for formatting a few words at a time, as unpredictable results are occasionly produced. Use <code> or <tt> as an alternative.
<xmp>
FOR x=1 TO 10
PRINT "The square of ";x;" is ";x^2
NEXT x
</xmp>
![]()
Contents![]() |
| Sizzling HTML Jalfrezi | |
| ©1997 Richard Rutter | ![]() |
| rrutter@woodhill.co.uk | |