Skip to main content
Engineering LibreTexts

2.E: Document Makeup (Exercise)

  • Page ID
    3526
  • For each of these assignments, complete each bulleted step and submit all files (HTML, CSS, scripts, images, etc.) necessary by zipping and submitting your assignment folder.

    Your First Page:

    • Your name, the course, and semester commented at the top of the file
    • Create body, header, and footer sections
    • Create a div named content between your header and footer
    • Set a page title that displays in the browser tab
    • Place an address in an address tag in your footer
    • Your name at the top of the page as an <h1> heading in your header
    • Add a few paragraphs about yourself to your content div
    • Add a list of hobbies or interest displayed as an HTML unordered list to the content
    • Link at least two of your hobbies or interests to websites related to those interests

    Fun with Media

    • Your name, the course, and semester commented at the top of the file
    • One image as part of your page
    • A short audio clip (or link to available audio filand player
    • A short video clip (or link to available videand player
    • Set both audio and video clips to have controls and not play automatically
    • Give your video clip a placeholder image

    Tables on Chairs

    • Recreate the following table in HTML
    • Use style attributes to set cell colors as needed
    • Use the caption tag to label your table

    section_2_assessments_1.png

    Registration Form

    • Create a form with an action attribute of the post
    • Give it the following fields, and a submit button:
      • First Name, Last Name
      • Email Address, Email Address Again
      • Age
      • A “Plan” select box that contains Basic, Premium, Titanium options
    • A checkbox asking if the user wishes to be added to a mailing list
    • A shirt size radio set that has values of Small, Medium, Large

    Adding Some Style

    • Using CSS rules, modify your “Your First Page” submission to include:
      • A background image that repeats to fill the screen
      • A background color on your content div
      • Modifying H1 to be 32 points and a different color from the default
    • Split your About Me and Hobbies sections into separate divs within Content
    • Give your new divs a fixed width of 400 each and set them to sit side by side

    Responsive Styling

    • Add rules to your CSS to achieve the following:
      • Allow divs in your content section to shrink to 200px
      • Vertically align your content divs for screens smaller than the typical tablet
      • Shrink your h1 to fit on one line when on tablets and phones if needed
      • Only show the first paragraph of your About Me section on phones

    Discussion / Written Response

    1. Explain the W3C’s stated reasoning as to why it was decided to stop moving all of CSS through version numbers as one cohesive unit. Do you agree or disagree with this position, and why?
    2. Discuss pros and cons of creating web applications using HTML5, CSS3, and other languages against creating the same application for each device’s platform (i.e. Apple’ iTunes, Google Play, Windows Store).
    3. Discuss how XML differs from HTML, and where it is commonly used today.
    4. Why is HTML considered a document markup languages as opposed to a programming language?

    Questions

    • Was this article helpful?