How To Create A Web Page On A Windows 7.1.1 (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (



Similar documents
CST 150 Web Design I CSS Review - In-Class Lab

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

JJY s Joomla 1.5 Template Design Tutorial:

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

CSS. CSS - cascading style sheets CSS - permite separar num documento HTML o conteúdo do estilo. ADI css 1/28

Web layout guidelines for daughter sites of Scotland s Environment

Further web design: Cascading Style Sheets Practical workbook

{color:blue; font-size: 12px;}

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Contents. Downloading the Data Files Centering Page Elements... 6

Web Authoring CSS. Module Descriptor

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

CS134 Web Site Design & Development. Quiz1

HTML and CSS. Elliot Davies. April 10th,

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Coding Standards for Web Development

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

Using Style Sheets for Consistency

Web Design and Databases WD: Class 7: HTML and CSS Part 3

CSS for Page Layout. Key Concepts

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

Web Design with CSS and CSS3. Dr. Jan Stelovsky

ICE: HTML, CSS, and Validation

Introduction to Adobe Dreamweaver CC

Outline of CSS: Cascading Style Sheets

ITNP43: HTML Lecture 4

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Introduction to Web Development

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

Slicing and Coding the Navigation Background in CSS

Basic tutorial for Dreamweaver CS5

Simply download Beepip from and run the file when it arrives at your computer.

Cascading Style Sheet (CSS) Tutorial Using Notepad. Step by step instructions with full color screen shots

Creating Web Pages with Dreamweaver CS 6 and CSS

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

Dreamweaver CS5. Module 1: Website Development

Style & Layout in the web: CSS and Bootstrap

Level 1 - Clients and Markup

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Web Design in Nvu Workbook 2

WordPress and HTML Basics

CHAPTER 10. When you complete this chapter, you will be able to:

Web Publishing Basics 2

Advanced Editor User s Guide

Introduction to Web Technologies

Web Design for Print Designers WEB DESIGN FOR PRINT DESIGNERS: WEEK 6

Web Design and Development ACS Chapter 9. Page Structure

CIS 467/602-01: Data Visualization

FETAC Certificate in Multimedia Production. IBaT College Swords. FETAC Certificate in Multimedia Production Web Authoring Dreamweaver 3

Microsoft Expression Web Quickstart Guide

The Training Floor s. Webmaster s. Bible

KOMPOZER Web Design Software

CSS - Cascading Style Sheets

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

Responsive Web Design for Teachers. Exercise: Building a Responsive Page with the Fluid Grid Layout Feature

Website Development Komodo Editor and HTML Intro

Chapter 1 Introduction to web development and PHP

HTML, CSS, XML, and XSL

Contents. Introduction Downloading the Data Files... 2

Create Your own Company s Design Theme

Appendix H: Cascading Style Sheets (CSS)

Klik op deze albums als u de foto s van onze evenementen wil ontdekken.

Web publishing: An introduction to CSS

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

GUIDE TO CODE KILLER RESPONSIVE S

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Intro to Web Design. ACM UIUC

Introduction to web development and JavaScript

Learning Web Design. Third Edition. A Beginner's Guide to (X)HTML, Style Sheets, and Web Graphics. Jennifer Niederst Robbins

Garfield Public Schools Fine & Practical Arts Curriculum Web Design

How to Properly Compose HTML Code : 1

Website Builder Documentation

Creating the Surf Shop website Part3 REVISED

Adobe Illustrator CS6. Illustrating Innovative Web Design

Website Planning Checklist

Getting Started with KompoZer

The Essential Guide to HTML Design

Web Developer Jr - Newbie Course

Using Adobe Dreamweaver CS4 (10.0)

Terminal 4 Site Manager User Guide. Need help? Call the ITD Lab, x7471

Cascading Style Sheets (CSS)

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Using an external style sheet with Dreamweaver (CS6)

Introduction to Web Design Curriculum Sample

Flare Tips and Tricks. Tips and tricks. Importing content Lists. Variables and snippets Condition tags Printed documentation WebHelp.

Create Webpages using HTML and CSS

Building a Horizontal Menu in Dreamweaver CS3 Using Spry R. Berdan

Base template development guide

Creating a Resume Webpage with

Web Design for Programmers. Brian Hogan NAPCS Slides and content 2008 Brian P. Hogan Do not reproduce in any form without permission

ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

To change title of module, click on settings

Web Development I & II*

Mastering the JangoMail EditLive HTML Editor

How to Create a Mobile Responsive Template in ExactTarget

WEB DEVELOPMENT IA & IB (893 & 894)

Designing HTML s for Use in the Advanced Editor

Transcription:

CREATING WEB PAGE WITH NOTEPAD USING HTML AND CSS The following exercises illustrate the process of creating and publishing Web pages with Notepad, which is the plain text editor that ships as part of the Windows operating system. In addition to using Notepad, you can complete this tutorial with any text editor that can save plain text files. To view the HTML files in your browser, simply click to launch them. To see the HTML code, use the browser's View Source option. I. Start a Web page with Notepad 1. Open Notepad 2. Type the following text: <html> <head> <title> My first Web Page </title> </head> <body> </body> </html> 3. Save the file as myfirstpage.html in the folder called mywebsite. Save As Type: All Files (*.*) 4. To display the web page, open the web Click File, and then click Open. Click Browse button to search and open the file myfirstpage.html. II. Creating Headings and Paragraphs 1. If you do not have myfirstpage.htm open, use Notepad to open it. 2. Position the cursor after the tag <body>. In the body type: <h1> My First Web Page</h1> <p>this is my first web page. I created this page with a plain text Notepad.</p> <p>you can make as many paragraphs as you want. There is no limit on creating content this way.</p> 3. Save myfirstpage.html and leave it open for the next set of steps. 4. If the browser is already open, click the refresh button to display the file myfirstpage.html; otherwise, use the browser to open it. 1

III. How to make Boldings and Italics 1. Continue working in the file myfirstpage.html. Add italics to plain text <em>plain text</em> 2. Add bold to no limit <strong>no limit</strong> 3. Save myfirstpage.html and leave it open for the next set of steps. View the file in the IV. Making Ordered and Unordered List 1. Continue working in the file myfirstpage.html. Add an unordered list of few items after the second paragraph <ul> <li>cerritos College</li> <li>sem division</li> <li>cis department</li> </ul> 2. Save myfirstpage.html and leave it open for the next set of steps. View the file in the 3. Change the unordered list to ordered list by changing the <ul> and </ul> to <ol> and </ol> respectively. V. Creating Hypertext Links 1. Continue working in the file myfistpage.html. Add the following paragraph that contains a link to Cerritos College. <p> I am taking the Web Design hands-on session at <a href= http://www.cerritos.edu >Cerritos college</a>with instructor Phuong Nguyen. 2. Save myfirstpage.html and leave it open for the next set of steps. View the file in the VI. Putting Images on a Web Page 1. Right after the body tag, add your image. <img src= images/pnguyen.jpg alt= Phuong s picture > 2

2. Save myfirstpage.html and leave it open for the next set of steps. View the file in the VII. Defining the DOCTYPE 1. Continue working in the file myfistpage.html. Delete the <html> tag. 2. Copy and add the following code at the top of myfirstpage.html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> 3. Save myfirstpage.html and leave it open for the next set of steps. View the file in the You won t see anything change, but you need to declare the DOCTYPE because you will use the cascade style sheet later in your web page. VIII. Creating a Style Sheet CSS file 1. Open another notepad. 2. Create a first CSS style to style the tag h1. Type: h1 {color: DarkBlue; text-align: center;} 3. Save the file in the web site folder. Name the file mystyles.css. 4. Bring the Notepad contained myfirstpage.html. After the close tag </title>, create a link to the style sheet mystyle.css. <link rel= stylesheet href= mystyles.css type= text/css > 5. Save myfirstpage.html and leave it open for the next set of steps. View the file in the 6. Bring the Notepad contained mystyles.css. Add the following styles to style the hypertext link. a:link, a:visited { color: darkblue; text-decoration: none; } a:hover, a:focus { color: red; text-decoration: underline;} 7. Save mystyles.css and leave it open for the next set of steps. 8. Bring the notepad contained myfirstpage.html. View myfistpage.html in the 3

IX. Positioning Images using CSS floats 1. Bring the Notepad contained mystyles.css. Add a CSS style class called leftimage to position the image to the left..leftimage { float: left; padding: 3px; } 2. Save mystyles.css. 3. Bring the Notepad contained myfirstpage.html. Go the image tag, add the following after src= images/pnguyen.jpg. class = leftimage 4. Save myfirstpage.html and leave it open for the next set of steps. View the file in the 5. Bring the Notepad contained mystyles.css. Add a CSS style class called rightimage to position the image to the right..rightimage { float: right; padding: 3px; } 6. Save mystyles.css. 7. Bring the Notepad contained myfirstpage.html. Change the class attribute in the image tag, to the right. class = rightimage 8. Save myfirstpage.html and leave it open for the next set of steps. View the file in the X. Creating a container DIV 1. Bring the Notepad contained mystyles.css. 2. Create a CSS style to style the body. body { margin: 0px; padding: 0px; text-align: center; } 3. Create a div called container. #container { width: 400px; background: white; 4

margin: 0px auto; text-align: left; font-family: arial; } 4. Save mystyles.css. 5. Bring the Notepad contained myfirstpage.html. Right after the start body tag <body> type: <div> 6. Before the close body tag </body>, type: 7. Associate the div created in step 4 with the div called container by adding a parameter called id = container after the div. <div id= container> 8. Save myfirstpage.html and leave it open for the next set of steps. View the file in the XI. Creating a Sidebar and Content DIVs 1. Bring the Notepad contained mystyles.css. Create a CSS styling called maincontent. This styling will be used for a div on the web page. #maincontent { width: 700px; background: white; text-align: left; margin-left: 270px; } 2. Create a styling for a side bar. #sidebar { float: left; width: 250px; background: lightgray; padding: 5px; text-align: left; } 3. Change the width of the styling #container to 970px. width: 970px; 4. Save the mystyles.css file. 5. Bring the Notepad contained myfirstpage.html. Position the cursor after the div tag <div id= container, type: <div id= maincontent > 5

6. Position the cursor before the close div tag, type: 7. Create the div sidebar. Position the cursor after the div tag <div id= container >, type: <div id= sidebar > 8. Create a paragraph inside the div sidebar. <p>the Computer and Information Sciences Department offers programs which prepare students to meet the challenges of the Information Technology (IT) industry as well as transfer to a four-year college or university.</p> 9. Save myfirstpage.html. View myfistpage.html in the XII. Creating a Header DIV and Navigation Tabs 1. Bring the Notepad contained myfirstpage.html. Right after the div tag <div id= container >, type: <div id= header> 2. Inside the div header, type: <h1>my Header</h1> 3. Under the My Header, create an unordered list. Type: <ul> <li>page One<</li> </ul> 4. Create a link for the list item Page One, <li><a href= # >Page One</a></li> 5. Create four more list items. <li><a href= # >Page Two</a></li> <li><a href= # >Page Three</a></li> <li><a href= # >Page Four</a></li> <li><a href= # >Page Five</a></li> 6. Save myfirstpage.html. View myfistpage.html in the 7. Bring the Notepad contained mystyles.css. Create a CSS style for the main header. #header { width: 970px; text-align: left; background: lightblue; margin-bottom: 15px; } 6

8. Save mystyles.css. View myfistpage.html in the 9. Here is the link to down load the Image header.gif Bring the Notepad contained mystyles.css. On the background of the header, right after the lighblue, insert an url command to locate a header image. background: lightblue url( images/header.gif ) no-repeat top right 10. Save mystyles.css. View myfistpage.html in the 11. Bring the Notepad contained mystyles.css. Create a style for the unordered list inside the header div. After the header div, type: #header ul { margin: 0px; text-align: center; padding: 5px 0px; border-bottom: 1px solid darkblue; font: bold 14px Verdana;} 12. Save mystyles.css. View myfistpage.html in the 13. Bring the Notepad contained mystyles.css. Create a style for the unordered list item inside the header div. Type: #header li { list-style: none; margin: 0px; display: inline;} 14. Save mystyles.css. View myfistpage.html in the 15. Bring the Notepad contained mystyles.css. Style the links that are inside the list items. Type: #header li a { color: white; padding: 5px 15px; margin-left: 3px; border: 1px solid darkblue; border-bottom: none; text-decoration: none;} 16. Save mystyles.css. View myfistpage.html in the 17. Bring the Notepad contained mystyles.css. Style the link state and the visited state.type: #header li a:link, #header li a:visited { color: white; background: darkblue;} 18. Save mystyles.css. View myfistpage.html in the 7

19. Bring the Notepad contained mystyles.css. Style the hover state. Type: #header li a:hover { color: white; background: blue; border-color: blue; } 20. Save mystyles.css. View myfistpage.html in the 21. Bring the Notepad contained mystyles.css. Style the current list item. Type: #header li a#current { color: black; background: white; border-bottom: 1px solid white;} 22. Save mystyles.css. 23. Bring the Notepad contained myfirstpage.html. Position the cursor after href= # in the first list item, add the following: <li><a href= # id= current >Page One</a></li> 24. Save mystyles.css. View myfistpage.html in the XIII. Creating a Footer DIV and a Mailto 1. Bring the Notepad contained mystyles.css. Create a div for the footer. Type: #footer { margin-top: 10px; border-top: solid 7px darkblue; width: 970px; line-height: 24px; text-align: center; } 2. Create a class called clearfloat.type:.clearfloat { clear: both; } 3. Save mystyles.css. 4. Bring the Notepad contained myfirstpage.html. Position the cursor after the ending of the maincontent div and prior the ending tag of the container div. Type: <div class= clearfloat > <div id = footer > <a href = # >Page One</a> <a href = # >Page Two</a> <a href = # >Page Three</a> <a href = # >Page Four</a> <a href = # >Page Five</a> <br /> 8

Send Comments to < a ref= mailto:pnguyen@cerritos.edu >pnguyen@cerritos.edu </a> 5. Save mystyles.css. View myfistpage.html in the XIV. Cloaning and Linking to Navigation Tabs 1. Bring the Notepad contained myfirstpage.html. Save the file as mysecondpage.html. ( Save as types: All Files (*.*) ). 2. Open another Notepad. Open myfirstpage.html. 3. On the mysecondpage.html, change the heading My First Web Page to My Second Web Page. <h1>my Second Web Page</h1> Change the title to My Second Web Page. <title>my Second Web Page</title> 4. Save mysecondpage.html. 5. Create links to Page One and Page Two. Position the cursor to first list item and change the # to myfirstpage.html. <li><a href= myfirstpage.html id= current >Page One</a></li> 6. Position the cursor to second list item and change the # to mysecondpage.html. <li><a href= mysecondpage.html >Page Two</a></li> 7. Bring the Notepad contained myfirstpage.html. Make the same change from steps 5 and 6 to myfirstpage.html. <li><a href= myfirstpage.html id= current >Page One</a></li> <li><a href= mysecondpage.html >Page Two</a></li> 8. Save myfirstpage.html. 9. Bring up MySecondPage.html. Move the id = current from the Page One to Page Two. <li><a href= mysecondpage.html id= current >Page Two</a></li> 10. Save mysecondpage.html. 11. View myfirstpage.html on the Click to go to Page Two. 9