These HTML tags and
attributes that have been superseded by other more functional or flexible alternatives
(as a TAG or as acronym `CSS ) are
declared as deprecated in HTML4.
Don't use a series of br tags to get cell contents to line up.
Use td rowspan=2 if necessary to allow broken lines.
Deprecated HTML attributes
Attribute
Deprecated if used in
caption , img , table , hr , div ,
h1..6 H1 { text-align: center}, p
alink
body
background tdbody
The CSS alternative involves relative or absolute positioning or margin control.
- the navigation links are separated from the content using the CSS class "header".
.header { position:absolute; top:10px; left:270px;
padding-right:10px;}
Places the second column start at a fixed position from the left margin, similar to newspaper columns.
Within the content column, two tables are used to display the deprecated tags and attributes.
<-- begins a comment, but -- cannot occur within a comment -->
Elementswww.w3.org ,
Attributes (height, onmousexxx, title,align...)
javaScript: within a function daCount=document.getElementById(countBox);daCount.value='1';
daCount=document.getElementsByName(countBox);daCount[0].value='1';
Be patient. some it takes a second or 2
Interestingly, even if you click more than once you only get one window
You must click where there is text !! i.e. not on the right edge
</p>
Table clicking :
Putting text or images in a table the full width of the page makes the entire table clickable, onMouseover able...
Neat !
format WITHOUT java script onMouse*** :
<input onpaste="return=false" prevents pasting
Cannot paste here: ; OK to paste here: ; type=password:
<table border=10 width=100% cellspacing=20 onclick="alert('You clicked in the TABLE ')" >
<tr onclick="alert('You clicked in the TR ')" width=70% >
width=20%
<td onclick="alert('You clicked in the second TD ')" width=50% >
Next Data cell (20%) has only a space beteen the td and /td tags (it doesn't even show a border!)
In fact you CAN click in it if you imagine where it is!!!
HTML browers will ignore breaks in the lines of text and "word wrap" based on
the current size of the window.
HTML tags surrounded by < and > are usually found in pairs.
Paragraphs are terminated by <p> and the browser will add a blank line
line brakes can be forced by adding <br>. This tag is not paired
If you have a block of text that is PREformated you can use <pre>
to start. After the preformated text use </pre> to end, but
be careful since this causes the alternate font to be used and
if the user has a narrower window then you expect the right side of you prefromated text will be cut off!
this font is not changed
this font is decreased 1 size by using <font size=-1> OR NOT! this font is not changed
this font is increased 1 size by using <font size=+1>
this font is increased 2 sizes by using <font size=+2>
<font> has been deprecated in favor of <style=font-…. this font is increased 2 sizes by using <span style=font-size:+2> OR NOT!
this font is decreased by using <span style=font-size:90%> OR NOT! this font is Not changed this font is increased by using <span style=font-size:110%> this font is increased by using <span style=font-size:125%> this font is increased by using <span style=font-size:150%> this font is increased by using <span style=font-size:175%>
ABsolute i.i NOT relativebr>
this font is smallest by using <span style=font-size:xx-small> this font is smaller by using <span style=font-size:x-small> this font is small by using <span style=font-size:small> this font is ? by using <span style=font-size:> this font is large by using <span style=font-size:large> this font is larget by using <span style=font-size:x-large> this font is largest by using <span style=font-size:xx-large>
<span style=color:red>RED</span>
<h2>this is a Heading level 2 </h2>
Headings add margin above and below so you might want to use font sizes instead.
Heading Ruler like below is entered using <hr>
++++++++++++++ +++++++++++
Colors should be used sparingly for emphisis and avoid eye straining combinations.
use <font color=??? > before the colored text and </font > after.
red
aqua
black
blue
fuschia
gray
green
lime
maroon
olive
purple
red
silver
teal
white
yellow
black
red
aqua
black
blue
fuschia
gray
green
lime
maroon
olive
purple
red
silver
teal
white
yellow
black
This image is pulled in by having a GIF and using
<img src=fffff.gif alt="NJ County Map"
Width= 288 height=515 align=right>.
This downloads fast because there are no slight color variations.
(that's what gifs are good for)
It also fades in (interlaced)
<li> causes a list . The end tag can be omitted if the list item is immediately followed by another <li> element, or if there is no more content in its parent element.
next list line
another list line
Providing a LINK to an HTML reference which the user can click on to
change to another HTML file is provided by using
<a href=fffff.html> link text </a>
<BlockQuote style=background-color:xxxx>
nested:
x
y
z
m
l
table
CellPadding number of pixels between cell edge and data ex 30
CellSpaceing width of cell divider i.e. width of border ex 10
th table header auto bold...
tr table row
td table data
note: following table is cut off on the right at the equal sign, ------------------------------|
Opera cuts off here, for pre-formated text although the table is still
cut off at the equal sign -----------------------------------here ----|
Of course that depends on FONT SIZE , which the user can vary in the browser settings
Notice also the small border on the LEFT edge.
(assuming there is a right handed scroll bar.
For Internet Explorer, left margins can be set to zero using leftmargin=0 in the <body> tag. Netscape Navigator doesn't recognize this instruction and if you want to remove the margin in this browser you need to also include marginwidth=0 in the <body> tag.