Validating your HTML or CSS

  1. If you are validating HTML you will need to put this code at the very top of your page:
    <!DOCTYPE html PUBLIC
          "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml"
          lang="en" xml:lang="en">
  2. Click to validate HTML or CSS
  3. Choose one of the three options
    1. Validate by URL: Paste the address of the page on your brandeis web space
    2. Validate by File Upload: Look for the page on your computer
    3. Validate by Direct Input: Copy and paste the source code
  4. Fix the first error or two and revalidate! DO NOT TRY TO FIX THEM ALL AT ONCE!