HTML/CSS/Text/strong

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

button with strong tag and image

   <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>The button element</title>
 <style type="text/css">
 button strong { 
   line-height: 2; 
   vertical-align: top; 
 }
 </style>

</head> <body>

 <form method="post" action="/cgi-bin/formhandler.cgi">
     <button type="submit" name="continue">
       Continue to the next page 
       <img src="next.png" width="28" height="20" alt="" />
     </button>
 </form>

</body> </html>

</source>
   
  


EM and STRONG

   <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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Phrase elements</title> <style type="text/css"> </style> </head> <body>

I was a little bit angry, then I was very angry, then I was extremely angry!

</body> </html>

</source>