dcsimg

HTML 4.0: New Subcommands

By Joe Burns

WEBINAR:
On-Demand

Application Security Testing: An Integral Part of DevOps


     Here's a look at what the subcommands will do. Many of these are already shown in the New Commands example tutorial.


CLASS

     In order for this class command to work, this:

<STYLE>
.purple {color:purple}
</STYLE>

was placed between the <HEAD> commands.

The Code:
     <SPAN CLASS="purple">Affected text</SPAN>

What You Get:
     Affected text


DIR

The Code:

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

What You Get:
hello
hello


ID

The Code:
     <A HREF="#bottom-id">Jump to the Bottom</A>

What You Get:
     Jump to the Bottom


LANG

The Code:
     <SPAN LANG="es">Hola! Como esta?</SPAN>

What You Get:
     Hola! Como esta?


TITLE

The Code:
<SPAN TITLE="title text">
Put your mouse here and leave it sit for a second.
</SPAN>

What You Get:
     Put your mouse here and leave it sit for a second.


Back to the HTML 4.0 Tutorial

 

 

 

 

 

 

 

 

 

This is the bottom text you jumped to.

It looks like this:

<SPAN ID="bottom-id">
This is the bottom text you jumped to.
<SPAN>

 

 

 

 

 

 

 

 

 



Make a Comment

Loading Comments...

  • Web Development Newsletter Signup

    Invalid email
    You have successfuly registered to our newsletter.

    By submitting your information, you agree that htmlgoodies.com may send you HTMLGOODIES offers via email, phone and text message, as well as email offers about other products and services that HTMLGOODIES believes may be of interest to you. HTMLGOODIES will process your information in accordance with the Quinstreet Privacy Policy.

  •  
  •  
  •  
Thanks for your registration, follow us on our social networks to keep up-to-date