Listed below are the most common attributes you can use for abbreviation element:
- class - provides the class or classes of the heading. This attribute is used to identify the name of the style class or classes to be used for rendering.
- id - provides a unique name for the heading.
- lang - provides the language in which the enclosed content is coded.
- style - provides a cascading style sheet (CSS) properties to the heading.
- title - privides a text title for the heading. Most web browser displays the value of the title as "tooltip".
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<mate name="keywords" content="blog, web development" />
<title>the PARAGRAPH element</title>
</head>
<body>
<h1>
the ABBREVIATION element
</h1>
According to tradition, Rome was founded in 753
<abbr title="Before the birth of Christ">
B.C.
</abbr>
</body>
</html>
The result will be:
"According to tradition, Rome was founded in 753 B.C."
A tooltip will show in Mozilla Firefox web browser.
1 comments:
hi!! i have a question about the marque and how to use it i hope you can give me some info. on it thanks. i don't have a Google account can you just mail it to me? i really appreciate it thanks a lot.
Email: oliversiam@yahoo.com
Post a Comment