SHARE
Facebook X Pinterest WhatsApp

HTML 4.0: New Commands

Written By
thumbnail
Joe Burns
Joe Burns
Jan 4, 2005

     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&lt/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)

Recommended for you...

Best VR Game Development Platforms
Enrique Corrales
Jul 21, 2022
Best Online Courses to Learn HTML
Ronnie Payne
Jul 7, 2022
Working with HTML Images
Octavia Anghel
Jun 30, 2022
Web 3.0 and the Future Of Web Development
Rob Gravelle
Jun 23, 2022
HTML Goodies Logo

The original home of HTML tutorials. HTMLGoodies is a website dedicated to publishing tutorials that cover every aspect of being a web developer. We cover programming and web development tutorials on languages and technologies such as HTML, JavaScript, and CSS. In addition, our articles cover web frameworks like Angular and React.JS, as well as popular Content Management Systems (CMS) that include WordPress, Drupal, and Joomla. Website development platforms like Shopify, Squarespace, and Wix are also featured. Topics related to solid web design and Internet Marketing also find a home on HTMLGoodies, as we discuss UX/UI Design, Search Engine Optimization (SEO), and web dev best practices.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.