To Lecture Notes

IT 238 -- Mar 30, 2026

About IT 238

Course Website

Course Topics

Review Questions

  1. Who designed the first version of HTML?
    Answer: Tim-Berners Lee. He also designed the first version of HTTP.
  2. What does HTML mean? List some HTML tags that you know.
    Details: some newer HTML commands. Commands new to HTML5 are marked with *. <abbr> <address> <area> <article>* <aside> <audio> <base> <bdi>* <bdo> <blockquote> <canvas> <caption> <cite> <code> <col> <colgroup> <data>* <datalist> <dd> <del> <details>* <dfn> <dialog>* <dl> <dt> <embed>* <fieldset> <figcaption> <figure>* <footer>* <header>* <hgroup>* <ins> <kbd> <keygen>* <legend> <main>* <map> <mark>* <menu> <menuitem>* <meter>* <nav>* <noscript> <object> <optgroup> <output>* <param> <picture>*  <progress>* <q> <rp>* <rt>* <ruby>* <s> <samp> <section> <small> <source>* <summary>* <svg>* <tbody> <template>* <tfoot> <thead> <time>* <track>* <var> <video>* <wbr>*

    Answer: HTML means Hypertext Markup Langage. Here are some frequently used HTML tags:
    <!DOCTYPE html> <html> <body> <head>
    Tags included in the <head> tag:
    <meta> <title> <link> <style> <script>
    Tags included in the <body> tag:
    <div> <span> <br> <h1> <h2> <h3>
    <p> <ul> <ol> <li> <table> <tr> <td> <th>
    <strong> <em>
     <a> <img> <input> <button> <label>
    <select> <option>
  3. Set up an HTML page that uses some tags that you know from Exercise 2. Upload your page to the studentweb server.
    Answer: Here is the HTML file that we created in class:
    <!DOCTYPE html>
    
    <!-- Source code for Exercise 3 of Mar 30 Notes.
         Source code file name: index.html -->
    
    <html lang="en">
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" 
                  content="width=device-width, initial-scale=1.0">
            <title>Sample Webpage</title>
        </head>
    
        <body>
            <h1>Sample Webpage</h1>
    
            <p>This is a sample webpage.<br>
               This is the second line.</p>
    
            <ol>
                <li>One</li>
                <li>Two</li>
                <li>Three</li>
            </ol>
        </body>
    </html>
    
    The directory structure on the studentweb server should look like this. Indentation means subfolder.
    public_html
        it238
           sample-page
               index.html
    
    This is the URL for accessing this file on studentweb if ssmith is your campusconnect username:
    https://studentweb.cdm.depaul.edu/ssmith/it238/sample-page/index.html
    
    What is the root node of an HTML page?
    Answer: the html node defined by the <html> and </html> tags.
  4. In this CSS style:
    h2 { color: navy; }
    
    identify the property, selector, and value.
    Answer: h2 is the selector, color is the property, navy is the value.
  5. Which colors designated by these hex color codes:
    #FF00FF  #800080  #000080  #800000  
    #008080  #C0C0C0  #E0E0FF  #E0FFFF
    
    Hint: Here is a color wheel to help you.
    There is an error in the color wheel. The hex color code for green is shown as #008080. It should be #008000.
    Answer:
    #FF00FF magenta or fuschia #800080 purple
    #000080 navy               #800000 maroon
    #008080 teal               #C0C0C0 silver
    #E0E0FF pastel blue        #E0FFFF pastel aqua or cyan
    

Project 0

Some HTML5 Examples

  1. Details Example
    Use a details element to hide information:
    Web Page  Source Code
  2. Table Example
    A table with HTML5 elements:
    Web Page  Source Code
  3. Iframe Example
    Use an <iframe> tag to display text:
    Web Page  Source Code
  4. Drawing1 Example
    Draw two shapes (circle and polygon) using scalable vector graphics (SVG).
    Web Page  Source Code
  5. Drawing2 Example
    Drawing can also be accomplished using JavaScript:
    Web Page  Source Code

Some CSS Examples

  1. AbsolutePositioning Example
    Display div sections using absolute positioning and a background image.
    Web Page  Source Code
  2. Float Example
    Use the CSS float property to allow text to flow around an image.
    Web Page  Source Code

Project 1a