To Lecture Notes

IT 238 -- Jan 5, 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>
    <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 in class and uploaded to the studentweb server:
    <!DOCTYPE html>
    <!-- Source code for Exercise 3 of Jan 5 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>Item 1</li>
                <li>Item 2</li>
                <li>Item 3</li>
            </ol>
    
            <table>
                <tr> 
                    <th>State</th> 
                    <th>Capitol</th> 
                    <th>State Bird</th> 
                </tr>
                <tr> 
                    <td>Illinois</td>
                    <td>Springfield</td>
                    <td>Northern Cardinal</td>
                </tr>
                <tr>
                    <td>Nebraska</td>
                    <td>Lincoln</td>
                    <td>Meadowlark</td>
                </tr>
            </table>
            <img src="northern-cardinal.jpg"
                 style="width: 200px">
            <p>Female Northern Cardinal</p>
        </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
    
  4. What is the root node of an HTML page?
    Answer: the html node defined by the <html> and </html> tags.
  5. What does CSS mean? List some CSS properties that you know.
    Details: CSS properties new to CSS3: align-content  align-items  align-self  animation  backface-visibility  background-clip  background-origin  background-size  border-bottom-left-radius  border-bottom-left-radius  border-image  border-radius  border-top-left-radius  border-top-right-radius  box-shadow  box-sizing  column  columns  flex  font-size-adjust  font-stretch  justify-content  opacity  order  outline-offset  overflow  perspective  resize  tab-size  text-align-last  text-decoration-color  text-decoration-line  text-decoration-style  text-justify  text-overflow  text-shadow  transform  transition  word-break  word-wrap

    Answer: Here are some common CSS properties:
    color  background-color  font-family  font-size  font-weight  font-style
    margin  text-align  text-decoration  vertical-align
    width  height  list-style-type  background-image
  6. 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.

Project 0

Project 1a