Home Page

Text Stuture


Text Formatting

This text is bold

This text is strong

This text is emphasized

This text is italic

This text is small

This is subscript and superscript

Do not forget to buy milk today.


Preformatted Text

Computer Output

Note: The following tags are often used to display computer/programming code.

The pre element

The pre tag is good for displaying computer code:

This is
preformatted text.
It preserves      both spaces
and line breaks.
for i = 1 to 10
     print i
next i

code defines computer code text.

Computer code

kbd defines keyboard text.

Keyboard input

samp defines sample computer code.

Sample text

var defines a variable.

Computer variable

abbr element.

Defines an abbreviation or acronym.

WHO

address element.

Defines contact information for the author/owner of a document.

Written by Jon Doe.
Visit us at:
Example.com
Box 564, Disneyland
USA

bdo element.

Defines the text direction.

If your browser supports bi-directional override (bdo), the next line will be written from the right to the left (rtl):

Here is some Hebrew text

q element.

Defines an (inline) (short) quotation.

WWF's goal is to: Build a future where people live in harmony with nature. We hope they succeed.


cite element.

Defines the title of a work.

The cite tag defines the title of a work (e.g. a book, a song, a movie, a TV show, a painting, a sculpture, etc.)

Note: A person's name is not the title of a work.

The Scream by Edward Munch. Painted in 1893.


dfn element.

Defines a definition term.

The dfn tag is a phrase tag. It defines a definition term.

It defines the title of a work (e.g. a book, a song, a movie, a TV show, a painting, a sculpture, etc.)

Note: A person's name is not the title of a work.

The Scream by Edward Munch. Painted in 1893.

Definition term