HTMLGoodies
The ultimate html resource
Earthweb.com


About the Double-Underlined Links


Become a Partner






internet.commerce















HTML Goodies : HTML and Graphics Tutorials : HTML 4.01 Tags: HTML 4.0: New Commands


Web Development Daily Newsletter


Other Related Newsletters

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)

Tools:
Add htmlgoodies.com to your favorites
Add htmlgoodies.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed



IT Management Networking & Communications Web Development Hardware & Systems Software Development Earthwebnews.com

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers