Begginning HTML

0 comments

Lab 1

Complete the weekly lab based on the following:

  • Write the code for each lab assignment.
  • The
    code is to be submitted in a single compressed folder (zip file) to the
    online course shell. The file must contain all .htm files, along with
    any other files that may be necessary for your project to run (ex: text
    files, images, etc.).
  • When saving the file, it should be saved
    as Lab_#_Last name_First initial.htm. For example, if your name is Mary
    Smith the file for Lab 1 should be saved as Lab_1_Smith_M.htm
  • Any and all written answers must be entered into the online course shell with the submission of the attached lab assignment.

Follow the directions below to complete Lab Assignment 1:

1. Using Notepad, or a similar text editor, create an .htm file that:

a. displays your name and the text “ Hello World!”

b. displays your name in the titlebar of the browser.

2. Declare the DOCTYPE for HTML5 and create a comment listing the lab number, the author, and the date.

3.
After the text “Hello World!” write five (5) lines of code
demonstrating headers 1 through 5. The text should identify what you are
displaying. Next, write two (2) lines of regular text.

4. Create:

a. an ordered list with three (3) line items.

b. an unordered list with three (3) line items.

c. a line of BOLD text.

d. a line of italicized text.

e. a line of underlined text.

5. All page tags should be appropriately opened and closed using the correct tags.

Lab 2: Three Web Pages with Hyperlinks

Complete the weekly lab based on the following:

  • Write the code for each lab assignment.
  • The
    code is to be submitted in a single compressed folder (zip file) to the
    online course shell. The file must contain all .htm files, along with
    any other files that may be necessary for your project to run (ex: text
    files, images, etc.).
  • When saving the file, it should be saved
    as Lab_#_Last name_First initial.htm. For example, if your name is Mary
    Smith the file for Lab 1 should be saved as Lab_1_Smith_M.htm
  • Any and all written answers must be entered into the online course shell with the submission of the attached lab assignment.

Follow the directions below to complete Lab Assignment 2:

  1. Create three (3) Web pages: index.htm, tips.htm, and glossary.htm. Open and close all tags appropriately using the correct tags.
  2. Display
    your name in the title bar of the browser, declare the DOCTYPE for
    HTML5, and create a comment listing the lab number, the author, and the
    date.
  3. Create links on each page that link to the other two (2) pages.
  4. Create navigation links on each page that link to the other two (2) pages.
  5. On the home page, create an image linked to http://strayer.edu.
  6. Create alternate text for the image link that says “Strayer University.”
  7. On the glossary.htm page, create a definition list of at least five (5) terms and their definitions.
  8. In the definition list, create bold tags for the terms only (not the definition).
  9. Display the special characters “<” and “>” somewhere in the term definitions.
  10. On the glossary.htm page, create at least two (2) links to areas on the same page.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}