PayneLess_Designs

PayneLess Designs: Scrollbox - JS Document Write Example

Jan 8th, 2011
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.69 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html><head>
  3. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  4. <title>JS Document Write</title>
  5.  
  6. <meta name="created" content="Thu, 24 Sep 2009 05:15:15 GMT">
  7. <meta name="description" content="">
  8. <meta name="keywords" content="">
  9. </head>
  10. <body>
  11. <script type="text/javascript">document.write('<p style="color: #00ff00;">This is in green.<\/p><p style="color: #0000ff;">This is in blue.<\/p>');</script>
  12.  
  13. <script type="text/javascript"> document.write(' <p style="color: #00ff00;"> This is in green. <\/p><p style="color: #0000ff;"> This is in blue. <\/p>'); </script>
  14. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment