title: What mode do people use when using Emacs to edit web pages that contain CSS, javascript, and HTML?
body: <p>typically the code is something like: </p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;style type="text/css"&gt;
         body { font-size:12pt; font-family: Arial;}
          ....
      &lt;/style&gt;
      &lt;script type="text/javascript" src="jquery.1.3.2js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
      &lt;!--
          $(document).ready(function(){
            ...
          });
          ...
      --&gt;
      &lt;/script&gt;
      &lt;meta ... /&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div&gt;
        &lt;p&gt;
         ....
        &lt;/p&gt;
        ...
      &lt;/div&gt;
      ....
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I like javascript-mode for the syntaxt highlighting and indenting.  Likewise for sgml-mode for the HTML.  Also I get auto-complete on the open tags.  Css-mode is not so important so it's not so much a priority. </p>
  
  <p>That's 3 disparate languages and 3 modes.  Right now I've been swapping modes manually as I edit different sections.  This works, sort of. </p>
  
  <p>Anyone got a better approach? </p>