HTML4 TUTORIAL PART 2

Similar documents
Very Basics of HTML. G day mates during this tutorial I will teach you the basics of HTML.

Homework #1: SSH. Step 1: From the start button (lower left hand corner) type Secure. Then click on the Secure Shell File Transfer Client.

Class 7. Choose the correct answer:

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

It is possible to create webpages without knowing anything about the HTML source behind the page.

HTML BASICS. You can use cut and paste in Notepad as with most applications - Ctrl + C to copy,ctrl + X to cut, Ctrl + V to paste.

This document provides a concise, introductory lesson in HTML formatting.

Eng 110, Spring Week 03 Lab02- Dreamwaver Session

FIT 100 LAB Activity 3: Constructing HTML Documents

CSS worksheet. JMC 105 Drake University

All Creative Designs. Basic HTML for PC Tutorial Part 1 Using MS Notepad (Version May 2013) My First Web Page

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

Intro to Microsoft Word

Authoring World Wide Web Pages with Dreamweaver

HTML. Hypertext Markup Language. Code used to create web pages

**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet.

Creating A Web Page. Computer Concepts I and II. Sue Norris

Materials for SOS Workshop No. 1 Getting more out of Microsoft Office Word

Start by launching Mozilla To start making a web page, go to File -> New -> Composer Page

OU EDUCATE TRAINING MANUAL

Boise State University. Getting To Know FrontPage 2000: A Tutorial

Developing a Basic Web Page

Fundamentals of Website Development

I put a shortcut onto your desktop, the screen that you look at after you log in.

Creating an HTML file (Mac)

Creating Web Pages Using Netscape Composer AGENDA FOR THIS WORKSHOP. 1. How does it all work? 2. What do I need to get started at Fairfield?

Site Owners: Cascade Basics. May 2017

There are six main steps in creating web pages in FrontPage98:

All Creative Designs. Basic HTML for PC Tutorial Part 2 Using MS Notepad Revised Version May My First Web Page

USING DRUPAL. Hampshire College Website Editors Guide

Understanding structure Learning about markup Tags and elements. Structure COPYRIGHTED MATERIAL

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Website Development Komodo Editor and HTML Intro

Learning More About NetObjects Matrix Builder 1

NCMail: Microsoft Outlook User s Guide

Lesson 1 Excel Tutorial Learning how to use Microsoft Excel 2010 page 1

INTRODUCTION (1) Recognize HTML code (2) Understand the minimum requirements inside a HTML page (3) Know what the viewer sees and the system uses

Imagery International website manual

Programming In Java Prof. Debasis Samanta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Running Wordstar 6 on Windows 7 Using vdos

Title and Modify Page Properties

Enhancing your Page. Text Effects. Paragraph Effects. Headings

Café Soylent Green Chapter 12

PYTHON YEAR 10 RESOURCE. Practical 01: Printing to the Shell KS3. Integrated Development Environment

16A. Laboratory. First Steps in HTML. Objective. References. Learn some basic HTML concepts. Make a simple web page.

Tutorial. Activities. Code o o. Editor: Notepad Focus : Text manipulation & webpage skeleton. Open Notepad

Dreamweaver Publishing and Editing Files. Outline

Using WebBoard at UIS

Title and Modify Page Properties

Creating an with Constant Contact. A step-by-step guide

m ac romed ia D r e a mw e av e r Curriculum Guide

To create, upload, share, or view shared files through Google Apps, go to Documents in the black bar above.

Introduction to Cascade Server (web content management system) Logging in to Cascade Server Remember me Messages Dashboard Home

Using CSS in Web Site Design

How to Prepare Your Cards for Press Using InDesign

CAL 9-2: Café Soylent Green Chapter 12

Natick High Web Design

Dreamweaver Basics Workshop

Creating an with Constant Contact. A step-by-step guide

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio

This Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step.

16B. Laboratory. Linking & Images in HTML. Objectives. References

Creating a new project To start a new project, select New from the File menu. The Select Insert dialog box will appear.

2013 edition (version 1.1)

Basic Intro to ETO Results

This booklet is knowledge of. a web page. of a web page find what you. you want to. SiteSell offers. Introduction

FRONTPAGE STEP BY STEP GUIDE

FCKEditor v1.0 Basic Formatting Create Links Insert Tables

Instructions for Installing FlashUpdate and Downloading Updates for NPRT 2200 Noise Power Ratio Test Set

Assignment 0. Nothing here to hand in

Chapter 7. Joining Maps to Other Datasets in QGIS

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks

Google Earth: Significant Places in Your Life Got Maps? Workshop June 17, 2013

Microsoft Expression Web Quickstart Guide

CS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!

In this project, you will create a showcase of your HTML projects and learn about links and embedding resources.

Step 1 Download and Install KompoZer Step by step instructions to build your first web page using KompoZer web editor.

Audio is in normal text below. Timestamps are in bold to assist in finding specific topics.

Tutorial 2 - HTML basics

Creating Pages with the CivicPlus System

A Document Created By Lisa Diner Table of Contents Western Quebec School Board October, 2007

Basic Microsoft Word

APPENDIX THE TOOLBAR. File Functions

An Introductory Guide to SpecTRM

AGENT123. Full Q&A and Tutorials Table of Contents. Website IDX Agent Gallery Step-by-Step Tutorials

PBwiki Basics Website:

c122jan2714.notebook January 27, 2014

How To Upload Your Newsletter

Using Dreamweaver CS6

How to make a Work Profile for Windows 10

Civil Engineering Computation

Outlook Web Access. In the next step, enter your address and password to gain access to your Outlook Web Access account.

TEACHER QUICK GUIDE FOR EDLINE

Excel 2010: Basics Learning Guide

LAB 3 CSE 3, Spring 2018 In this lab you will learn and implement some basic html.

GoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next.

Adobe Dreamweaver CC 17 Tutorial

Creating Word Outlines from Compendium on a Mac

Editing the Home Page

End-User Reference Guide Troy University OU Campus Version 10

Transcription:

HTML4 TUTORIAL PART 2 STEP 1 - CREATING A WEB DESIGN FOLDER ON YOUR H DRIVE It will be necessary to create a folder in your H Drive to keep all of your web page items for this tutorial. Follow these steps: 1. On your desktop, click the H Drive icon (the little house). 2. Once inside your H Drive, RIGHT-CLICK somewhere on the white part. 3. Choose New and then Folder. 4. A new folder will appear. Rename it Web Design. STEP 2 OPENING A TEXT EDITOR It s best to use a simple text editor when creating web pages. Popular text editors include Notepad for Windows and SimpleText for Macintosh. All of your HTML documents must be saved as basic text documents or you will see unusual characters on your page (these characters are complicated formatting codes that you don t need). For this tutorial, we will be using Notepad. To open Notepad, select Start / All Programs / Accessories folder and choose Notepad. Use the default font... otherwise, your page might not be correctly interpreted (parsed). STEP 3 CREATING A BASIC HTML DOCUMENT The EIGHT Basic Tags o Every HTML document begins with and ends with o Within these two main tags are two parts to the document: the and <body> o Within the HEAD section are the <title></title> tags. You can type the name of your page between these tags. o The main viewable portion of your Web page is contained between the BODY tags. Make sure you have only one BODY tag in your HTML document. Type the following in your blank Notepad document (use your own name between the TITLE tags). <body>

2 Your web browser will ignore any whitespace when it interprets your page so it doesn t matter how many blank lines you have between your tags. From here, you can add more tags, tag attributes, and images, to fancy-up your page. STEP 4 - ADDING SOME TEXT IN THE BODY SECTION As mentioned above, the main viewable portion of your web page is contained between the BODY tags. We will add a simple sentence to your Notepad document. <body> This is my first web page! We have typed enough to actually view this as a web page. We will now save the document and view it in the Internet Explorer browser. Follow these steps to properly save the web page: 1. Choose File / Save As... You will get a window that looks like this:

3 2. In the top window, navigate to the Web Design folder you created in your H Drive. Under File name, delete *.txt and type mypage.html. Leave Save as type alone. It should be Text Documents (*.txt). After you save the page, you will see its name at the top of the Notepad document. Make sure it says mypage.html Notepad and not mypage.html.txt Notepad. Do not close the Notepad document when doing the next steps. Leave it open! 3. Now open the Internet Explorer browser from your desktop. Choose File / Open... 4. In the new window, click the Browse... button. 5. Navigate to your H Drive and DOUBLE-CLICK on the Web Design folder. 6. You will see your newly saved document mypage.html. 7. DOUBLE-CLICK it and then click on OK in the box. 8. You will see your first web page!! (it s kind of boring but we will fancy it up soon). Your name should be in the top strip of the browser (the head section) and your sentence will appear in the top left of your main window (the body section). Do not close the browser when doing the next steps. Leave it open! STEP 5 - CENTERING AND ADDING A HEADING DESIGNATION tags. Now that we have a basic web page structure, we will begin to fancy up your page with Centering. As shown so far, the default tendency of a web browser is to show text (or images) at the top left of your page. You can tell the browser to center any elements such as text or images by using a CENTER tag. The CENTER tag has a closing tag and should surround anything that you want centered. Go back to your Notepad document and add the following tags in the BODY section. (Note: the closing tag is placed towards the bottom of the document because we want all items centered on the page for this tutorial).

4 <body> This is my first web page! It s a good practice to save often when working on a computer, so at this time choose File / Save in your Notepad document (you only need to use Save As... the first time you are saving a document so using Save is fine). Before we see the new effect, let s make your sentence a HEADING by adding HEADING tags. Heading Tags. Headings add titles to sections of a page. HTML defines six levels of headings. Heading tags look like the following: The numbers indicate heading levels (h1 through h6). The headings, when they display, aren t numbered. They display in larger or bolder text so that they stand out from regular text. In HEADING tags, h1 is the largest size and h6 is the smallest. All sizes are relative to the size of the screen on which they are viewed. Heading #1 Heading #2 <h2>this is my first web page!</h2> Heading #3 <h3>this is my first web page!</h3> Heading #4 <h4>this is my first web page!</h4> Heading #5 <h5>this is my first web page!</h5> Heading #6 <h6>this is my first web page!</h6> When text is surrounded by HEADING tags, it is made bold and a blank line is added below the text. The blank line will become evident as you add more text and images to the page. Note that HEADING tags require a closing tag so that the browser knows when to stop affecting the text. Add the following HEADING tags (<h1> </h1>) to your sentence and add another HEADING tag size (<h2> </h2>) to a new sentence as follows:

5 <body> Be sure to choose File / Save after making any changes to your Notepad document. Now we can go back to the browser and see the results. Hopefully, you left the browser open so simply click on the Internet Explorer icon to go back to your web page. To see the new changes, you need to REFRESH the browser page. It should now look something like this: STEP 6 - ADDING A SOLID COLOR TO THE BACKGROUND The default background color displayed in a browser is white. You can change the color in the BODY tag by adding an attribute to the tag. Whenever you add an attribute to a tag you must give it a value as follows: <body bgcolor= #FFFF00 > In this example, the attribute is bgcolor and the value is #FFFF00 (Note that values are designated by using an equal sign (=) and the value must be in quotes).

6 Color Values on the Web. All colors used on the Web are designated as a particular HEXADECIMAL VALUE. A hexadecimal value is a series of six letters or numbers such as FFFF00 for the color yellow. There are numerous sites to find the hexadecimal value of a particular color. Here are two good sites: http://www.htmlref.com/reference/appe/colorchart.htm and http://www.w3schools.com/tags/ref_colorpicker.asp. When using hexadecimal values in your HTML tags, it is customary to use a pound sign (#) in front of the value. In the early 1990s, browsers began to become more user-friendly. They began recognizing colors by using actual names of colors: <body bgcolor= yellow > This technique works well for basic colors (red, blue, green, yellow) but the best guarantee to see your desired color is to use its hexadecimal value. Add the following new coding to your Notepad document in the BODY tag. You may use any color for the value by using a color name or the actual hexadecimal value. In the example below, we are using the hexadecimal value for the color yellow. <body bgcolor= #FFFF00 > Make sure that you have only ONE body tag in the Notepad document. You simply add the attribute and value to the existing body tag. Be sure to Save the changes! Now go back to your browser, refresh the page, and view the results.

7 STEP 7 - CREATING LINE BREAKS AND USING BASIC TEXT TAGS To illustrate the next point, add the following sentences to your Notepad document. <body bgcolor= #FFFF00 > These tags make my text look bold. These tags make my text look italicized. These tags make my text look underlined. Save the Notepad document and refresh the browser. You will see this:

8 This serves as a reminder that the browser ignores any whitespace. You were given a line break after the second sentence as part of the h2 tag, but the remaining sentences showed up in one long line. The browser must be told when to add another line break. To do this, you use the tag. It behaves as if you hit the ENTER key on your keyboard. If you want the lines to be stacked one on top of the other just like you typed them, then you need to add tags: <body bgcolor= #FFFF00 > These tags make my text look bold. These tags make my text look italicized. These tags make my text look underlined.

9 The tag is the first tag we ve come across that doesn t have a complimentary closing tag. Also notice that the three sentences are horizontally centered because they are under the effect of the tags we added earlier. In HTML4, you can use tags to add vertical spacing to elements. Type the following to add more space between your sentences: <body bgcolor= #FFFF00 > These tags make my text look bold. These tags make my text look italicized. These tags make my text look underlined.

10 Note that tags can be added either way and maintain the same effect because the browser ignores whitespace. It s a good coding practice to make your Notepad document look as close to your browser page, so stacking the tags on top of each other gives you the best idea of how it will look. Now we ll introduce three simple tags that can be used to affect text: <b></b>, <i></i>, and <u></u>. All of these tags should surround the text you want to affect and definitely need the closing component to tell the browser to stop doing the particular effect. Add the following tags to your Notepad document: <body bgcolor= #FFFF00 > These tags make my text look <b>bold</b>. These tags make my text look <i>italicized</i>. These tags make my text look <u>underlined</u>.

Notice that the surrounding <b></b> tags made the particular word bold, the surrounding <i></i> tags made the particular word italicized, and the surrounding <u></u> tags made the particular word underlined. You can use one, two, or all three tags around text if you want. Just be sure to close them when you are done with the effect! 11