Three New Tags

< textarea > Text Area < /textarea >

The < textarea > tag create a textbox on the form that a user can interact with and type anything they want into it. The text box can accept multiple lines of input as well. Also note that anything you type between the < textarea > tags will appear in the textbox once the form opens. The textbox can be resized and has a scroll function as well. Please note the example below:

Example:

The code that produced the output above looks like this:

< textarea >Example...< /textarea>


I found this tag at www.simplilearn.com.


< dl > Description List < /dl >

The < dl > tags is mainly used to create definitions for terms. Inside the < dl > tags, using a < dt > tag creates the term and using a < dd > tag sets the definition for it with an indentation included for readibility. Using CSS to bold the terms (with < b > tags) can help make it look better as well. Please note the example below:

Example:

Art Tool Definitions:

Crayon
Used to add color to a peice of paper.
Pencil
A utensil used to write with; typically made of wood.
Eraser
Used to correct written mistakes.

The code that produced the output above looks like this:

< dl >
   < dt >Crayon< /dt >
   < dd >< b >Used to add color to a peice of paper.< /b >< /dd >

   < dt >Pencil< /dt >
   < dd >< b >A utensil used to write with; typically made of wood.< /b >< /dd >

   < dt >Eraser< /dt >
   < dd >< b >Used to correct written mistakes.< /b >< /dd >
< /dl >


I found this tag at developer.mozilla.org.


< details > Details < /details >

The < details > tag is used to create a drop down menu that can display more information when clicked on. In the < details > tags, using a < summary > tag will name the drop down as whatever is written in the tag. The text written after the closing of the < summary > tag is what ends up displaying when the menu is clicked on. Please note the example below:

Example:

More Information Frogs live primarily in rainforests and nornmally consume insects in order to survive.

The code that produced the output above looks like this:

< details >
   < summary >
        More Information
    < /summary >
        Frogs live primarily in rainforests and nornmally consume insects in order to survive.
    < /details >



I found this tag at html.com.