Quiz

  1. Could you elaborate a bit more on Question 4? I'm not sure I understand DIV.

    Sure. DIV is easy to misunderstand, because it's meaningless.

    For best accessability and SEO, you should try to use semantic tags: tags that have meaning, like SECTION or HEADER or NAV or P or UL or LI...

    But sometimes, none of those really fit, so we reach for DIV as our container of last resort.

    Unfortunately, that means DIV gets overused and the resulting HTML becomes a little messy. Here's an excerpt from the wellesley website for the CS department

    
    <!-- Beyond Wellesley -->
    <div class="js-anim beyond">
        <div class="beyond_header">
            <div class="fs-row">
                <div class="fs-cell">
                    <h2 class="beyond_title">Beyond Wellesley</h2>
                </div>
            </div>
        </div>
    
        <div class="beyond_main">
            <div class="beyond_main_media">
                        </div>
    
            <div class="beyond_main_media_content">
                <div class="fs-row">
                    <div class="fs-cell fs-lg-5">
                        <div class="beyond_main_header">
                            <h2 class="beyond_main_title">Beyond Wellesley</h2>
                        </div>
                    </div>
    
    
    
  2. How do we publish our own HTML website using the cs server (and make it public and accesible for people outside of wellesley)? 

    Copy/move the files to your public_html folder, remove the .htaccess file, and you're in business.

    We'll actually use your public_html folder today!

  3. The css selector link in the reading doesn't work :(

    I'm so sorry! That was a link to a website for an older version of CS 110 that got archived, which broke all the links. I restored it (to a new, temporary location).

  4. No questions, thank you!

    You're welcome!