HTML/CSS/Text/Address

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

Address 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>Listing 4-5. Address</title>

</head> <body>

 <address>
 FirstName LastName
Web Designer
1 Street, UK
</address>

</body> </html>

</source>
   
  


The Address Element

   <source lang="html4strict">


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

 <title>The Address Element</title>

</head> <body>

The following address is contained inside an <address> element.

<address>Press, address</address> </body> </html>

</source>