Lecture 3 Creating a Web Page with HTML. Objectives §Hypertext Document in WWW p1.4-1.5 §The HTML language p.1.8-1.10 l Definition l Web browsers and.

Slides:



Advertisements
Similar presentations
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Advertisements

DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML Introduction Creating a Web Page.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
New Perspectives on Creating Web Pages with HTML
HTML Your Friend or Foe? and a little bit from Lazar.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Tutorial 1 Developing a Basic Web Page
Tutorial 1 Developing a Basic Web Page. XP Objectives Learn the history of the Web and HTML Describe HTML standards and specifications Understand HTML.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
Developing a Basic Web Page
Objectives Learn the history of the Web and HTML
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Developing a Basic Web Page with HTML
Developing a Basic Web Page Posting Files on UMBC
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
© 2005 ComputerPREP, Inc. All rights reserved. HTML 4.0 and Web Page Design Module I.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
Creating a Simple Page: HTML Overview
Developing a Basic Web Page
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
Today’s Topic Language of web page - HTML (Hypertext Markup Language)
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
XP 1 New Perspectives on Creating Web Pages with HTML Developing a Basic Web Page.
Welcome to CMPE003 Personal Computer Concepts: Hardware and Software Winter 2003 UC Santa Cruz Instructor: Guy Cox.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (pg. 85) Lesson 4.2Lesson 4.2.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.
Web111a_chapt01.ppt Definitions Hypertext Documents Documents containing elements that can be selected Links Active pointers to other documents or files.
HTML BASICS Web Design I. Web Design  WWW created in the late 1980’s  Used in academics for the next 5 years  Mosaic (1994) allowed both pictures &
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 1 1 Microsoft Office FrontPage 2003 Tutorial 1 – Creating a Web Site.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
CHAPTER 1: INTRODUCTION. CONTENTS  Networks  World Wide Web  Hypertext Documents  Web pages - Web site  Web Servers and Web Browsers  HTML: The.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
The idea of adding markup instructions to documents is not new. Before computers, authors would make annotations by hand in their written or typed documents.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Creating a Web Page.
Web Engineering Course Code: CSE 417
Introduction to HTML- Basics
Presentation transcript:

Lecture 3 Creating a Web Page with HTML

Objectives §Hypertext Document in WWW p §The HTML language p l Definition l Web browsers and HTML l Versions of HTML l Tools for creating HTML documents l HTML syntax l Examples of HTML tags l Basic tags

Objectives (con’t) §Creating: p Headings Paragraphs Lists Character tags Special characters Horizontal lines Graphic images §Exercises

Hypertext Document in WWW A hypertext document is an electronic file that contains elements that a user can select, usually by clicking a mouse, to open another document. Liner VS. hypertext document

Hypertext Markup Language (HTML) §Definition: Language used to create and format Web pages, using a set of special codes, called tags §HTML doesn’t describe how text looks §HTML uses a code that describes the function the text has

Web browser & HTML §A Web browser interprets the codes to determine a document’s appearance §Different browsers might display a document differently

An Example: A HTML file displayed by two browsers [ref.] [ref.]

Why different browsers display a web document differently ? §Portability l different computer platforms l different types of fonts supported e.g. Arial, Gothic l different I/O devices: chunky teletypes high-end workstations non visual media such are speech and Braille §Advantage: frees web page authors worrying about compatibility on different computers and operating systems

Why different browsers display a web document differently ? (con’t) §Speed l exact specification on how to display each character dramatically increase file size the time to transfer

Versions of HTML §HTML has a grammar or set of rules called syntax §The specifications or standards have been developed by a consortium of web authors, software companies and interested users (World Wide Web Consortium W3C) §Extensions are supported by some browsers to add new possibilities to HTML

Versions of HTML (con’t) §5 versions of HTML [ref.][ref.] l HTML 0.0 l HTML 1.0 l HTML 2.0 l HTML 3.2 l HTML 4.01

HTML 4.01 Adds support for style sheets, new features to tables and forms...

Tools for Creating HTML Documents §HTML documents: text files §Tools: l Text editor e.g. MS note pad l HTML convertor e.g. MS Word l HTML editor l Other design tools: MS FrontPage, Macromedia Dreamweaver

HTML syntax §2 elements: l Document content Parts that the user sees l Tags HTML codes that indicate the document content

HTML syntax (con’t) Document Content §e.g. Mary Taylor §A tag contains l brackets ( ) that enclose the tag name l properties (optional) additional information that defines the tag’s appearance §Document content: parts the user sees

HTML syntax: Two-side tags §Two-sided tags l require both opening and closing tags e.g. Mary Taylor opening tag: tells the browser to turn on the feature and apply it to the document content that follows closing tag: turns off the feature

HTML syntax: One-sided tags §require only the opening tag e.g., Graduated May, M.A. International Grade Point Average: 3.5 overall, 3.9 in major

HTML syntax characteristics §Tags are NOT case sensitive l H1=h1 §HTML ignores extra blank space, blank lines or tabs

HTML syntax characteristics (con’t) The following HTML statements are the same: To be or not to be. That is the question. To be or not to be. That is the question.

Examples of HTML tags

Examples of HTML tags (con’t)

Basic Tags (example) Displayed at the title line : surround information about the Web page : surround the part that appears in the browser

Example Result: Basic Tags

Creating Headings §6 levels § Heading text where y is a heading numbered 1- 6

Example: Headings

Example: Creating headings

Example Result: Headings in the browser

Creating a paragraph §Syntax: l text

Example: paragraph text (no tag)

Example Result: Text Not separated into paragraphs

Example: tag for paragraphs Satellite Technician (Front Range Media Inc ): Monitored satellite uplink/downlink procedures to assure quality video transmissions. Aided technicians with transmission problem. Associated in the assembly and maintenance of uplink facility. Technical Assistant(Mountain View Bank ):Managed data cessing system. Handled user requests anf\d discussed programming option Managed delivery service Salesperson(Computer Visions 1991): Sales and customer support in computers and electronics. Managed commercial accounts in Mountain View and Crabtree locations.

Example result: paragraphs with tag

Creating lists: Ordered list §List in numeric order Example: Graduated May, M.A. International Telecommunications Grade Point Average: 3.5 overall, 3.9 in major Dean’s List: September 1994-May 1996 Member, Phi Alpha Omega Honor Society Result: 1.Graduated May, M.A. International Telecommunications 2.Grade Point Average: 3.5 overall, 3.9 in major 3.Dean’s List: September 1994-May Member, Phi Alpha Omega Honor Society

Creating list: Unordered list §List in which list items have no particular order. Example: Graduated May, M.A. International Telecommunications Grade Point Average: 3.5 overall, 3.9 in major Dean’s List: September 1994-May 1996 Member, Phi Alpha Omega Honor Society Result:  Graduated May, M.A. International Telecommunications  Grade Point Average: 3.5 overall, 3.9 in major  Dean’s List: September 1994-May 1996  Member, Phi Alpha Omega Honor Society

Character tags §Definitions: §Character tag: A tag that is applied to an individual character §Logical tag: Indicates how you want to use text, not necessarily how want it displayed §Physical tag: Indicates exactly how characters are to be formatted

Common Logical tags §It indicates how you want it displayed.

Example: Logical tags

Common Physical tags

Example: Physical Character tags

Example: Applying character tags

Example result: Applying character tags

Special characters

Example: Special characters 11 Kemper Ave. &#183 Lake View, CO &#183 ( Result:

Horizontal lines §

Example: Horizontal line §After the end of Mary’s address line, press Enter §type §Result:

Inserting a graphic §Two types l Inline image l External image

Inline image §appears directly on the Web page §loaded when the page is loaded §2 types supported by all browsers: l GIF (Graphical Interchange Format) l JPEG (Joint Photographic Experts Group) §Syntax: e.g.

External image §Not displayed with the Web page §Browser must have a file viewer §e.g. Shockwave