HTML/CSS/Text/cite

Материал из Web эксперт
Перейти к: навигация, поиск

Cite: font style and color, background color

   <source lang="html4strict">

<!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" xml:lang="en" lang="en"> <head>

 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 <title><strong>, <em> and Other Phrase Elements</title>
 <style type="text/css" media="screen">
 
 #divID cite {
   font-style: italic;
   font-weight: bold;
   color: red;
   background-color: #ddd;
   }
 
 </style>

</head> <body>

this is a test. this is a test. .

</body> </html>

</source>
   
  


Cite tag

   <source lang="html4strict">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>

 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>Citations</title>

</head> <body>

Restaurant Norm Deplume:

this is a text.

FirstName Lastname, November 22, 2006

</body> </html>

</source>