Set Margin-Top for span element - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:span

Description

Set Margin-Top for span element

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
span {<!--from   w  w w  .  jav  a 2 s .  com-->
   margin:100px;
}
</style> 
 </head> 
 <body> 
  <p> <span>Hello World</span> Blah </p>  
 </body>
</html>

Related Tutorials