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.
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.
samp
defines sample computer code.
var
defines a variable.
abbrelement.
Defines an abbreviation or acronym.
WHOaddresselement.
Defines contact information for the author/owner of a document.
Written by Jon Doe.bdoelement.
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 textqelement.
Defines an (inline) (short) quotation.
WWF's goal is to: Build a future where people live in harmony with nature.
We hope they succeed.
citeelement.
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.
dfnelement.
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