SHARE
TWEET

Untitled

a guest Sep 15th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head
  4. **/
  5. Inline elements
  6. /**
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10.   <meta charset="utf-8">
  11.   <meta name="viewport" content="width=device-width">
  12.   <title>JS Bin</title>
  13. <style id="jsbin-css">
  14. span {
  15.   border: 1px solid red;
  16.   margin-top: 10px;
  17.   margin-bottom: 10px;
  18.  
  19.   padding-top: 10px;
  20.   padding-bottom: 10px;
  21.  
  22.   width: 200px;
  23.  
  24.   padding-right: 20px;
  25.   padding-left: 20px;
  26.  
  27.   line-height: 3em;
  28.   vertical-align: 20%;
  29. }
  30.  
  31. div {
  32.   border: 1px  solid green;
  33.   padding: 10px;
  34.   margin: 10px;
  35.  
  36.   /*height: 400px;*/
  37.   width: 300px;
  38. }
  39. </style>
  40. </head>
  41. <body>
  42.   Content before<span>This is an inlina element</span>Content after
  43.  
  44. <div>
  45.   Some content inside a DIV element.
  46.    Lorem ipsum dolor sit amet, omnesque nominati nec cu, possit constituam honestatis in his. Ut feugiat laboramus maiestatis mea, ut everti apeirian dissentiet eam. Mea veri postulant ei, at wisi eleifend pro. Meis aliquam usu ea, mollis meliore ei vix. Te duo quod oportere, dolor nullam discere et vel. Oporteat gloriatur voluptatum ei sed.
  47. </div>
  48.  
  49.  
  50. <script id="jsbin-source-css" type="text/css">span {
  51.   border: 1px solid red;
  52.   margin-top: 10px;
  53.   margin-bottom: 10px;
  54.  
  55.   padding-top: 10px;
  56.   padding-bottom: 10px;
  57.  
  58.   width: 200px;
  59.  
  60.   padding-right: 20px;
  61.   padding-left: 20px;
  62.  
  63.   line-height: 3em;
  64.   vertical-align: 20%;
  65. }
  66.  
  67. div {
  68.   border: 1px  solid green;
  69.   padding: 10px;
  70.   margin: 10px;
  71.  
  72.   /*height: 400px;*/
  73.   width: 300px;
  74. }</script>
  75. </body>
  76. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top