HTML/CSS/Text/strong

Материал из Web эксперт
Версия от 08:17, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

button with strong tag and image

 
<!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">
    <div>
      <button type="submit" name="continue">
        <strong>Continue to the next page</strong> 
        <img src="next.png" width="28" height="20" alt="" />
      </button>
    </div>
  </form>

</body>
</html>



EM and STRONG

 

<!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>
<p>I was a <em>little</em> bit angry, then I was <strong>very</strong> angry, then I was <em><strong>extremely</strong></em> angry!</p>
</body>
</html>