Double
with line-height to create a Linebreak : br « Tags « HTML / CSS






Double
with line-height to create a Linebreak

  




<!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" />
    <title></title>
<style type="text/css" media="Screen">

* .myStyle {
  line-height: 10px;
}


</style>
</head>
<body>
<p>

<br /><br class="myStyle" />Linebreak plus 10 pixels. 
</p> 
</body>
</html>

   
  








Related examples in the same category

1.'br' adds a new line to the web page
2.Line breaks
3.Hide the
for form layout
4.'clear' create space around the area of a 'br' element