CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document

Similar documents
CMT111-01/-M1: HTML & Dreamweaver. Creating an HTML Document (Continued)

What is XHTML? XHTML is the language used to create and organize a web page:

c122jan2714.notebook January 27, 2014

Beginning HTML. The Nuts and Bolts of building Web pages.

How the Internet Works

CS134 Web Site Design & Development. Quiz1

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

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

Web Publishing Basics I

Introduction to HTML5

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

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

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

Beginning Web Site Design

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

Web Design and Development ACS Chapter 3. Document Setup

Training Sister Hicks

introduction to XHTML

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

Html basics Course Outline

Creating and Building Websites

HTML Overview. With an emphasis on XHTML

Module 2 (III): XHTML

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Hypertext Markup Language, or HTML, is a markup

UNIT 2. Creating Web Pages with Links, Images, and Formatted Text

INTRODUCTION TO HTML5! HTML5 Page Structure!

Attributes & Images 1 Create a new webpage

Introduction to Web Development

Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1

Lab 4 CSS CISC1600, Spring 2012

11. HTML5 and Future Web Application

Adobe Dreamweaver CS3 English 510 Fall 2007

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Navigation. Websites need a formalized system of links to allow users to navigate the site

History of the Internet. The Internet - A Huge Virtual Network. Global Information Infrastructure. Client Server Network Connectivity

Comm 244 Week 3. Navigation. Navigation. Websites need a formalized system of links to allow users to navigate the site

Announcements. Paper due this Wednesday

Shane Gellerman 10/17/11 LIS488 Assignment 3

HTML/CSS Lesson Plans

Exploring Computer Science Web Final - Website

INTRODUCTION TO WEB USING HTML What is HTML?

AOS 452 Lab 4: HTML, CSS and Your Webpage

Part 1: HTML Language HyperText Make-up Language

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

XHTML & CSS CASCADING STYLE SHEETS

GRAPHIC WEB DESIGNER PROGRAM

CAS 111D: XHTML Tutorial

Dreamweaver CS3 Lab 2

FIT 100 LAB Activity 3: Constructing HTML Documents

CS 1124 Media computation. Lab 9.3 October 24, 2008 Steve Harrison

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

1 Creating a simple HTML page

Internet: An international network of connected computers. The purpose of connecting computers together, of course, is to share information.

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

ATSC Week 2 Web Authoring

Micronet International College

CS144 Notes: Web Standards

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Introduction to WEB PROGRAMMING

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

TRAINING GUIDE. Rebranding Lucity Web

Cascading style sheets

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Certified HTML5 Developer VS-1029

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

Lesson 1 HTML Basics. The Creative Computer Lab. creativecomputerlab.com

Bunker Hill Community College: HTML and Dreamweaver

Lab: Create JSP Home Page Using NetBeans

Basic Web Pages with XHTML (and a bit of CSS) CSE 190 M (Web Programming), Spring 2008 University of Washington Reading: Chapter 1, sections

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)

Vebra Search Integration Guide

Figure 1 Properties panel, HTML mode

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

HTML. HTML Evolution

Modify cmp.htm, contactme.htm and create scheduleme.htm

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

ATSC 212 html Day 1 Web Authoring

Web Programming Week 2 Semester Byron Fisher 2018

Implementing a chat button on TECHNICAL PAPER

CSC 121 Computers and Scientific Thinking

Title: Sep 12 10:58 AM (1 of 38)

ITNP43: HTML Lecture 4

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

Introduction to. Name: Class: ~ 1 ~

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

XHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4.

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

CSS worksheet. JMC 105 Drake University

HTMLnotesS15.notebook. January 25, 2015

Data Visualization (CIS/DSC 468)

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU

Web Site Design and Development. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

ORB Education Quality Teaching Resources

Discuss web browsers. Define HTML terms

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

Transcription:

CMT111-01/M1: HTML & Dreamweaver Bunker Hill Community College Spring 2011 Instructor: Lawrence G. Piper Creating an HTML Document 24 January 2011

Goals for Today Be sure we have essential tools text editor (Notepad++) web browser (Chrome, Opera or Firefox) CMT111-01/M1 24 Jan 2011 2 Set up accounts for our class projects all your work on the various tutorials must be uploaded to your site Create a simple Web page generate page skeleton Add content to page Mark up the content upload to web space View the page in browser

About our Web Accounts Each student will have an account on docpiper.com CMT111-01/M1 24 Jan 2011 3 your web address will be a docpiper.com subdomain e.g. docpiper.com/lgpiper [or alternatively, lgpiper.docpiper.com With luck, you ll know how to access them after today s class During the semester we ll work through a number of tutorials; the tutorials must be uploaded to your account and linked from your class-projects home page Your final project will also be uploaded to your class-projects directory and linked from your home page I will grade what I see on the internet

Class Projects Page Your class projects page will be named index.html CMT111-01/M1 24 Jan 2011 4 It will reside in your root directory (defined next week) With luck, we ll start to set them up today Zach s CMT 111-01 Class Projects Welcome to my projects page. Each tutorial is linked below. Tutorial 1: Dave s Devil Sticks Tutorial 2: CAM Shots Tutorial 3: Sunny Acres Final Project: My crazy relatives!

What is a Web Page? A web page is a plain-text file having content content labels (tags) links to other pages links to graphics files (pictures) links to audio and video files (sound and movies) CMT111-01/M1 24 Jan 2011 5 A plain-text file is one with no explicit formatting just the standard characters you can type on a keyboard All formatting is done by labeling the text and links called tagging A link is a specialized tag that tells how to find another web page or a graphics file basically it gives the address of the file you want

Basics of an HTML Tag A tag is a label contained in angle brackets <p> labels paragraphs </p> <h1> labels major headlines</h1> <img where to find picture /> labels pictures etc. All tags must be well formed lower case [I will mark down your using upper case tags] closed [every tag must be closed no exceptions!] attributes quoted [again no exceptions!] properly nested CMT111-01/M1 24 Jan 2011 6 Good tags label the function of what they are labeling labeling the function is known as semantic mark up In olden tymes, some people used tags for presentation. Doing so now dooms you to obsolescence and unemployment.

Three Kinds of Tags CMT111-01/M1 24 Jan 2011 7 Block-level tags are paired around content and define a box of some sort <p> this is a paragraph with some text!</p> This is a the box can be styled and positioned as one sees fit paragraph e.g. you can style the font, colors, etc inside the box with some you can add borders or not around the box text! you can position the box as you see fit all this positioning and styling should be done via CSS [will cover soon] In-line tags are pared around content, but do not define a box, they only label something inside a containing box <a href= docpiper.com >My website</a> let me <em>emphasize</em> one thing let me emphasize one thing Empty tags are single tags that don t themselves contain content. They must, however, still be closed <br />: a line break <hr />: a horizontal rule <img src= pics/somepic.jpg />

More on Tags Most tags have an opening and a closing <p> opening paragraph tag </p> closing paragraph tag NOTE the slash, / the slash is the tag closer CMT111-01/M1 24 Jan 2011 8 Some tags have attributes an attribute is like an internal label on a tag In ancient times, attributes gave information about formatting the tag We don t do this if we can avoid it, which is 99 44 / 100 % of the time An attribute has a property and a value <div id= content > id is property content is the value of the property the value must be enclosed in quotation marks

Skeleton Web Page has Three Essential Tag Sets <html> First and last things on page </html> CMT111-01/M1 24 Jan 2011 9 <head> Descriptive content that s hidden from view</head> Page title Author Description and key words Styles and scripts (program snippets that tell various parts of the page how to look or act) Each of these is wrapped in its own special tag set <body> Web content </body> Text (links to) Pictures (links to) Embedded media audio, video, flash Web-form elements

The Basic Web Page CMT111-01/M1 24 Jan 2011 10 <html> <head> <title>welcome to Bianca's Page</title> </head> <body> <h1>bianca's CMT 111-01 Web Pages</h1> <p>welcome to Bianca's page of student projects. I hope you're as edified in viewing these as I was in making them</p> </body> </html> The code on the left produces the web page below

The Basic Web Page Refined CMT111-01/M1 24 Jan 2011 11 Having said that, web pages really, really should begin with a!doctype The DOCTYPE tells the browser how to interpret tags, attributes, style rules There are a number of different DOCTYPEs; we ll use XHTML 1.0 Transitional [I personally use XHTML 1.0 Strict] The skeleton page then changes need DOCTYPE declaration need a name space attribute for the opening <html> tag

It looks the Same! CMT111-01/M1 24 Jan 2011 12 <!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" lang="en"> <head> <title>welcome to Bianca's Page</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <h1>bianca's CMT 111-01 Web Pages</h1> <p>welcome to Bianca's page of student projects. I hope you're as edified in viewing these as I was in making them</p> </body> </html> Yes it look the same, but this won t be true for more complex pages. Help the browser out by telling it what you have

Save and View Web Page Save the file with an.html extension CMT111-01/M1 24 Jan 2011 13 If using Windows Notepad, must saveas type All Files and append.html to the end of file name Don t use Windoz Notepad; people will laugh at you if you do Open file in browser [File/Open or ctrl^o] Navigate file structure to where file is saved Click open This is called viewing locally or viewing on local host If you see a mistake on your web page Edit file in text editor Save the file (ctrl^s) Refresh browser (F5)

Good and Bad Web Sites an example of each Here s a truly bad one: http://www.newsconnect.net/delaware.htm It looks like they still think it s 1997! Excessive busyness Marquee text (you gotta be kidding) Garish colors It makes my head hurt CMT111-01/M1 24 Jan 2011 14 And this one isn t half bad: http://www.csszengarden.com/ Zen Garden shows the exact same site content styled by various graphics designers. It s possible to wrap beauty around any content if you know how. When you get bored, you can change the look of your whole site still beautiful

Check Other People s Code CMT111-01/M1 24 Jan 2011 15 You can learn about coding by seeing how others do it check their code generally see source under view menu option Chrome, Opera, FF can also right click and select source You ll see some horrible examples, and some not-so-bad ones Check out their style sheets Chrome and FF: clickable links to style sheet when view source code Opera and IE must type url to style sheet file in browser e.g. http://docpiper.com/css/docp.css