Valid XHTML 1.0 Transitional

jQuery: Running code when a page is fully loaded with ready()

This is paragraph 1.

This is paragraph 2.

This is paragraph 3.

This is paragraph 4.

The Code START
  <script type="text/javascript" src=""></script>
    <script type="text/javascript">
      $(function() {
    <style type="text/CSS">>
      p.striped1 { background-color: pink; }
      p.striped2 { background-color: cyan;
                   font-weight: 700; }
      p.striped3 { background-color: yellow; }
      p.striped4 { background-color: green; }
    <style type="text/CSS">
        .code { color: red;

  <h1>Running code when a page is ready</h1>
  <p class="first">This is paragraph 1.</p>
  <p class="second">This is paragraph 2.</p>
  <p class="third">This is paragraph 3.</p>
  <p class="fourth">This is paragraph 4.</p>