HTML 4.0: New Commands

By Joe Burns

     This document contains the HTML 4.0 DTD Declaration Statement. You can look at the source code if you'd like, but this is what it looks like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">

     The purpose is for you to see the commands in action. For a look at what the new subcommands will do, look here. If what you see below does not give the effect you expect, then your browser probably will not support the command, even with the assistance of the strict.dtd from the World Wide Web Consortium.

     Please note that not every command is represented here, as often there is no visible effect on the page from some commands. The ones that look good, though, are here.


ABBR

The Code:
     <ABBR TITLE=National Football League>NFL</ABBR>

What You Get:
     NFL (put your pointer on it)


ACRONYM

The Code:
     <ACRONYM TITLE="Self-Contained Underwater Breathing Apparatus">SCUBA </ACRONYM>

What You Get:
     SCUBA (put your pointer on it)


BDO

The Code:

<BDO DIR="LTR">hello</BDO>
<BDO DIR="RTL">hello</BDO>

What You Get:
     

hello
hello


BUTTON

The Code:
     <BUTTON name="submit" value="submit" type="submit"></BUTTON>

What You Get:
     


COLGROUP

The Code:
<TABLE BORDER="2">

<COLGROUP WIDTH="340">
<TD>text
<TD>text
</COLGROUP>
<TR>
<TD>text
<TD>text

</TABLE>

What You Get:

text text
text text


DEL

The Code:
     Version <DEL>3</DEL> <INS>4<INS>

What You Get:
     Version 3  4


INS

The Code:
     Version <DEL>3</DEL> <INS>4<INS>

What You Get:
     Version 3  4


OBJECT

The Code:
     <OBJECT data="ball11.gif" type="image/gif"></OBJECT>

What You Get:
     


SPAN

The Code:
     <SPAN TITLE="This is a title">Text on page</SPAN>

What You Get:
     Text on page


THREAD, TBODY, TFOOT

The Code:
<TABLE>
<THREAD><TR> The following cells...</THREAD>
<TBODY bgcolor="--">
<TR> text
<TR> text
</TBODY>
<TFOOT><TR>The above cells...</TFOOT>
</TABLE>

What You Get:

The following cells...The above cells... text text


Q

The Code:
     <Q TITLE="quotation">I think, therefore I am</Q>

What You Get:
     I think, therefore I am
(put your point on the text)


Make a Comment

Loading Comments...

  • Web Development Newsletter Signup

    Invalid email
    You have successfuly registered to our newsletter.
  •  
  •  
  •  
Thanks for your registration, follow us on our social networks to keep up-to-date