Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

HTML – Basic HTML Exercises Using Notepad

HTML – Basic HTML Exercises Using Notepad

HTML – Basic HTML Exercises Using Notepad

Question Description

1 – Creating a directory (folder) and your initial Notepad file

  1. Create a folder on your desktop to save your HTML pages in (call it “My web page“)
  2. Start Notepad. Type the document tags below in your Notepad file.
  3. This file will ultimately be your Homepage file.

1.JPG

2 – Now save the Notepad file to the HTML directory you created (the “My web page” folder)

  1. Save your Notepad file in your HTML directory and name it index.txt.
  2. Now close your index.txt file and then in the HTML directory folder rename the file index.html within the folder.
    • You can change the extension .txt of your Notepad file to .html to view the file and back to .txt to edit your progress as you start adding your HTML code.
    • NOTE: Opening your Notepad file with the .html extension will open it in the default internet browser installed in your computer to view it as a web page. Opening the file with the .txt extension will open the file in Notepad for editing.

    Enter your custom title by typing it between the <title> and the </title>

    • for example: <title>My First Website</title>
    • 2.JPG

3 – Add a heading that is bold & in italics

  1. Place the cursor immediately under the <body> tag. Press Enter to create a line, if needed.
  2. Type <h1> (Heading 1), <b> (bold), <i> (italics) then your choice of heading name. For example: <h1><b><i>Your Name: This is my first homepage
  3. After typing in the heading name, you must close the heading by typing </b> (end bold), </i> (end italics), </h1> (end heading 1).
  4. Your finished heading line should look like this
    • 3.JPG

4 – Add an image or picture

  1. You may use any image or picture you like. If you don’t know where to get one, do Google search for a picture you like. Once you have found the image or picture you like, save it in the “My web page” folder.
  2. Enter a new line under the Heading you created above and type the following line:
    • <img src= (this stands for Image Source)
    • “the_title_of_your_image.jpg” (this name and extension needs to reflect the actual name ad extension of your image or picture)
    • width=134
    • height=200
    • hspace=5 (specifies the amount of space on either side of image)
    • border=0>
    • You may change the specs of the width, height, hspace and border as you wish for aesthetic purposes later.
  3. Your image or picture line should look like this:
    • 4.JPG
  4. If the image or picture is not in the “My web page” folder, the webpage will not know where to look.
  5. Make sure to place the picture in the “My web page” folder with the index.html file.
    • NOTE: If the image is changed and is given the same name and extension, the new picture will automatically reflect in the web page.

5 – Add a horizontal rule

  1. Place the cursor immediately under the image or picture line (step 4), press Enter to create a line, if needed.
  2. Add a horizontal rule tag: <hr>

6 – Add a paragraph

  1. Place the cursor immediately under the horizontal rule tag (step 5), press Enter to create a line, if needed. Type the following line:
  2. <font color=#000000> (sets the color for the text in the paragraph)
  3. <p> (this begins a paragraph)
  4. Type your text, “This is my first web page. When it’s finished it will include:” (no quotes)
  5. </p> (this ends a paragraph)
  6. Your new paragraph line should look like the following:
    • 6.JPG

7 – Add an unordered list

Place the cursor immediately under the horizontal rule tag (step 6), press Enter to create a line, if needed. Type the following line:

  1. <font color=#B4045F> (sets the font color of the unordered list, many choices: http://www.w3schools.com/html/html_colornames.asp (Links to an external site.)
  2. <ul> (begins the unordered list)
  3. <li>Movies (bullet item 1)
  4. <li>Games (bullet item 2)
  5. <li>Music (bullet item 3)
  6. </ul> (ends the unordered list)
  7. Your new unordered list line should look like the following:
    • 7.JPG

8 – Change the background color

  1. Place the cursor immediately under the unordered list line (step 7), press Enter to create a line, if needed. Type the following line:
    8.JPG
  2. (choose any color, you have many choices https://www.w3schools.com/colors/colors_names.asp (Links to an external site.)

9 – Add a Hyperlink

  1. Place the cursor immediately under the background color line (step 8). Press Enter to create a line, if needed. Type the following lines:
  2. <a href= (stands for Hypertext Reference)
  3. “http://www.grossmont.edu”> (quotes included)
  4. I’m currently attending Grossmont College</a>
  5. Press enter then type, <p><br>
  6. Press enter then type, </p>
  7. Your new unordered list line should look like the following three lines:
    9.JPG

10 – End your HTML tags

  1. Place the cursor immediately under the </object> line (step 9), press Enter to create a line, if needed. Make sure the following tags are the last tags of your code:
    • </body> (ends the editing to the body of the page)
    • </html> (ends the HTML code for the page)
  2. Your end tag lines should look like the following:

    </body>
    </html>

11 – Check your code

Your entire block of code should look similar to the code in the image below.

index.jpg

12 – Save the page and view it

  1. Click save. If you haven’t saved it already, please save it in the “My web page” folder.
  2. Make sure it has been saved as index.html.
  3. Double click and open the index.html file. This will open up the browser for you to view your webpage so far. You should see your new page appear in the browser, looking something like the example below.
    • REMEMBER: You should change the extension of your Notepad file from .txt to .html often to make sure you’re on the right path.

13 – Copy & Paste your code

You will Copy & Paste your code in the HTML Editor feature within this Canvas discussion, so we can all see your page without having to download a file. Read the following article for instructions on using the HTML Editor: HTML Editor (Links to an external site.)

14 – Resource Sites for your reference

HEX Color Codes for HTML: http://www.w3schools.com/html/html_colornames.asp (Links to an external site.)
HTML Tags: http://www.w3schools.com/html/default.asp (Links to an external site.)

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20